androidx.compose.material3
toPathSince 1.10Experimental
Function
No hand-written docs yet.
Returns a Path for this Morph.
With progress, pathExperimental
fun Morph.toPath(
progress: Float,
path: Path = Path(),
startAngle: Int = 0,
): Path
progress: FloatRequired
progress: FloatRequiredthe Morph's progress
path: PathOptional
path: PathOptionalstartAngle: IntOptional
startAngle: IntOptionalDefault: 0
the angle (in degrees) from which to begin drawing the generated path. By default, it is set to 0 degrees, meaning the Path begins drawing at the 3 o'clock position.
Form 2Experimental
@Composable
fun RoundedPolygon.toPath(
startAngle: Int = 0,
): Path
Same as above: startAngle.