Deprecated glance-wear-tiles is deprecated and will be removed
public value class AnchorType private constructor(private val value: Int)
The alignment of a CurvedRow's elements, with respect to its anchor angle. This specifies how elements added to a CurvedRow should be laid out with respect to the CurvedRow's anchor angle.
As an example, assume that the following diagrams are wrapped to an arc, and each represents a CurvedRow element containing a single text element. The text element's anchor angle is "0" for all cases.
AnchorType.Start:
-180 0 180 Hello World!
AnchorType.Center:
-180 0 180 Hello World!
AnchorType.End:
-180 0 180 Hello World!
Companion Object
Properties
public val Start: AnchorType
Anchor at the start of the elements. This will cause elements added to a CurvedRow to begin at the given anchor angle, and sweep around to the right.
public val Center: AnchorType
Anchor at the center of the elements. This will cause the center of the whole set of elements added to a CurvedRow to be pinned at the given anchor angle.
public val End: AnchorType
Anchor at the end of the elements. This will cause the set of elements inside the CurvedRow to end at the specified anchor angle, i.e. all elements should be to the left of anchor angle.