public interface CurvedAlignment
Members
Radial
public class Radial internal constructor(internal val ratio: Float)
How to lay down components when they are thinner than the container. This is analogue of Alignment.Vertical in a Row.
Members
Companion
public companion object
Properties
Inner
public val Inner: Radial = Radial(1f)
Put the child closest to the center of the container, within the available space
Center
public val Center: Radial = Radial(0.5f)
Put the child in the middle point of the available space.
Outer
public val Outer: Radial = Radial(0f)
Put the child farthest from the center of the container, within the available space
Functions
Custom
public fun Custom(ratio: Float): Radial
Align the child in a custom position, 0 means Outer, 1 means Inner
Angular
public class Angular internal constructor(internal val ratio: Float)
How to lay down components when they have a smaller sweep than their container. This is analogue of Alignment.Horizontal in a Column.
Members
Companion
public companion object
Properties
Start
public val Start: Angular = Angular(0f)
Put the child at the angular start of the layout of the container, within the available space
Center
public val Center: Angular = Angular(0.5f)
Put the child in the middle point of the available space.
End
public val End: Angular = Angular(1f)
Put the child at the angular end of the layout of the container, within the available space
Functions
Custom
public fun Custom(ratio: Float): Angular
Align the child in a custom position, 0 means Start, 1 means End