Source set: Android
public object CurvedTextDefaults
Properties
ScrollableContentMaxSweepAngle
Source set: Android
public val ScrollableContentMaxSweepAngle: Float
The default maximum sweep angle in degrees used by curvedText. This threshold is for the curvedText displayed on screens with scrollable content, such as lists..
This is calculated by keeping the length of the corresponding chord on the circle to be approximately 57% of the screen width.
StaticContentMaxSweepAngle
Source set: Android
public val StaticContentMaxSweepAngle: Float
The recommended maximum sweep angle in degrees used by curvedText for screens without scrollable content.
Functions
backgroundColor
@Composable
public fun backgroundColor(): Color
The recommended background color to use when displaying curved text so it is visible on top of other content.