-
public final class SegmentedProgressIndicatorKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSegmentedProgressIndicator(List<ProgressIndicatorSegment> trackSegments, Float progress, Modifier modifier, Float startAngle, Float endAngle, Dp strokeWidth, Float paddingAngle, Color trackColor)Represents a segmented progress indicator. -
-
Method Detail
-
SegmentedProgressIndicator
@Composable() final static Unit SegmentedProgressIndicator(List<ProgressIndicatorSegment> trackSegments, Float progress, Modifier modifier, Float startAngle, Float endAngle, Dp strokeWidth, Float paddingAngle, Color trackColor)
Represents a segmented progress indicator.
- Parameters:
trackSegments- A list of ProgressIndicatorSegment definitions, specifying the properties of each segment.progress- The progress of this progress indicator where 0.0 represents no progress and 1.0 represents completion.modifier- Modifier to be applied to the SegmentedProgressIndicatorstartAngle- The starting position of the progress arc, measured clockwise in degrees (0 to 360) from the 3 o'clock position.endAngle- The ending position of the progress arc, measured clockwise in degrees (0 to 360) from the 3 o'clock position.strokeWidth- The stroke width for the progress indicator.paddingAngle- The gap to place between segments.trackColor- The background track color.
-
-
-
-