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

Anchor at the center of the elements.

AnchorType

Anchor at the end of the elements.

AnchorType

Anchor at the start of the elements.

Public companion properties

Center

Added in 1.0.0-alpha06
val CenterAnchorType

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

Added in 1.0.0-alpha06
val EndAnchorType

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

Added in 1.0.0-alpha06
val StartAnchorType

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.