sizeIn

Function

Android
public fun CurvedModifier.sizeIn(
    @FloatRange(from = 0.0, to = 360.0) minSweepDegrees: Float = 0f,
    @FloatRange(from = 0.0, to = 360.0) maxSweepDegrees: Float = 360f,
    minThickness: Dp = 0.dp,
    maxThickness: Dp = Dp.Infinity,
): CurvedModifier

Specify the dimensions of the content to be restricted between the given bounds.

Parameters

minSweepDegreesthe minimum angle (in degrees) for the content.
maxSweepDegreesthe maximum angle (in degrees) for the content.
minThicknessthe minimum thickness (radial size) for the content.
maxThicknessthe maximum thickness (radial size) for the content.