{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LayoutElementBuilders.DashedLinePattern

Added in 1.3.0-alpha09
{% setvar page_path %}androidx/wear/protolayout/LayoutElementBuilders.DashedLinePattern.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

@RequiresSchemaVersion(major = 1, minor = 500)
class LayoutElementBuilders.DashedLinePattern


A dashed line pattern which describes how the dashed arc line is segmented by gaps. It determines the gap size and the gap locations.

Summary

Nested types

Builder for DashedLinePattern

Public functions

(Mutable)List<DimensionBuilders.DegreesProp!>

Gets the list of each gap's center location in degrees.

DimensionBuilders.DpProp?

Gets the size in dp of the gap between the arc line segments.

String

Public functions

getGapLocations

Added in 1.3.0-alpha09
fun getGapLocations(): (Mutable)List<DimensionBuilders.DegreesProp!>

Gets the list of each gap's center location in degrees.

getGapSize

Added in 1.3.0-alpha09
fun getGapSize(): DimensionBuilders.DpProp?

Gets the size in dp of the gap between the arc line segments.

toString

fun toString(): String