SegmentedRingGaugeSegmentsStyle

data class SegmentedRingGaugeSegmentsStyle(val alpha: Float, val baseColor: Color, val colors: ImmutableList<Color>, val width: Dp, val spacing: Dp, val cornerRadius: Dp, val startPosition: SegmentedRingGaugeStartPosition, val direction: SegmentedRingGaugeDirection)(source)

The colored portions of a segmented ring gauge.

Constructors

Link copied to clipboard
constructor(alpha: Float, baseColor: Color, colors: ImmutableList<Color>, width: Dp, spacing: Dp, cornerRadius: Dp, startPosition: SegmentedRingGaugeStartPosition, direction: SegmentedRingGaugeDirection)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val colors: ImmutableList<Color>
Link copied to clipboard

The radius applied to the four corners of every annular segment.

Link copied to clipboard

The direction in which segments are placed from startPosition.

Link copied to clipboard
val spacing: Dp

The physical space reserved between neighbouring segments.

Link copied to clipboard

The boundary before the first segment.

Link copied to clipboard
val width: Dp

The maximum thickness shared by the segments and their track. It shrinks when needed to preserve the center hole.