AnchorType
value class AnchorType
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!
Summary
Public companion properties |
|
|---|---|
AnchorType |
This property is deprecated. glance-wear-tiles is deprecated and will be removed |
AnchorType |
This property is deprecated. glance-wear-tiles is deprecated and will be removed |
AnchorType |
This property is deprecated. glance-wear-tiles is deprecated and will be removed |
Public companion properties
Center
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.
End
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.
Start
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.