Class

AnchorType

Specifies how components will be laid down with respect to the anchor.

Source set: Android
public class AnchorType internal constructor(internal val ratio: Float)

Specifies how components will be laid down with respect to the anchor.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

Start

Source set: Android
public val Start: AnchorType = AnchorType(0f)

Start the content of the CurvedLayout on the anchor

Center

Source set: Android
public val Center: AnchorType = AnchorType(0.5f)

Center the content of the CurvedLayout around the anchor

End

Source set: Android
public val End: AnchorType = AnchorType(1f)

End the content of the CurvedLayout on the anchor

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: