DrawCurvedToEdgeDefaults

@RequiresApi(value = 33)
object DrawCurvedToEdgeDefaults


Summary

Public properties

Float

The default maximum sweep angle in degrees used by drawCurvedToEdge.

Float

The recommended maximum sweep angle in degrees used by drawCurvedToEdge for screens without scrollable content.

Public properties

ScrollableContentMaxSweepAngle

Added in 1.8.0-alpha04
val ScrollableContentMaxSweepAngle: Float

The default maximum sweep angle in degrees used by drawCurvedToEdge. This threshold is for the drawCurvedToEdge 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

Added in 1.8.0-alpha04
val StaticContentMaxSweepAngle: Float

The recommended maximum sweep angle in degrees used by drawCurvedToEdge for screens without scrollable content.