CurvedTextDefaults
object CurvedTextDefaults
Summary
Public functions |
|
|---|---|
Color |
The recommended background color to use when displaying curved text so it is visible on top of other content. |
Public properties |
|
|---|---|
Float |
The default maximum sweep angle in degrees used by |
Float |
The recommended maximum sweep angle in degrees used by |
Public functions
backgroundColor
@Composable
fun backgroundColor(): Color
The recommended background color to use when displaying curved text so it is visible on top of other content.
Public properties
ScrollableContentMaxSweepAngle
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
val StaticContentMaxSweepAngle: Float
The recommended maximum sweep angle in degrees used by curvedText for screens without scrollable content.