ProgressIndicatorColors

class ProgressIndicatorColors


Represents the indicator and track colors used in progress indicator.

Summary

Public constructors

ProgressIndicatorColors(
    indicatorBrush: Brush,
    trackBrush: Brush,
    overflowTrackBrush: Brush,
    disabledIndicatorBrush: Brush,
    disabledTrackBrush: Brush,
    disabledOverflowTrackBrush: Brush
)

Public functions

ProgressIndicatorColors
copy(
    indicatorBrush: Brush?,
    trackBrush: Brush?,
    overflowTrackBrush: Brush?,
    disabledIndicatorBrush: Brush?,
    disabledTrackBrush: Brush?,
    disabledOverflowTrackBrush: Brush?
)

Returns a copy of this ProgressIndicatorColors optionally overriding some of the values.

ProgressIndicatorColors
copy(
    indicatorColor: Color,
    trackColor: Color,
    overflowTrackColor: Color,
    disabledIndicatorColor: Color,
    disabledTrackColor: Color,
    disabledOverflowTrackColor: Color
)

Returns a copy of this ProgressIndicatorColors optionally overriding some of the values.

open operator Boolean
equals(other: Any?)
open Int

Public properties

Brush

Brush used to draw the indicator if the component is disabled.

Brush

Brush used to draw the overflow track if the component is disabled.

Brush

Brush used to draw the track if the component is disabled.

Brush

Brush used to draw the indicator of progress indicator.

Brush

Brush used to draw the track for progress overflow (>100%).

Brush

Brush used to draw the track of progress indicator.

Public constructors

ProgressIndicatorColors

Added in 1.0.0-alpha30
ProgressIndicatorColors(
    indicatorBrush: Brush,
    trackBrush: Brush,
    overflowTrackBrush: Brush,
    disabledIndicatorBrush: Brush,
    disabledTrackBrush: Brush,
    disabledOverflowTrackBrush: Brush
)
Parameters
indicatorBrush: Brush

Brush used to draw the indicator of progress indicator.

trackBrush: Brush

Brush used to draw the track of progress indicator.

overflowTrackBrush: Brush

Brush used to draw the track for progress overflow (>100%).

disabledIndicatorBrush: Brush

Brush used to draw the indicator if the component is disabled.

disabledTrackBrush: Brush

Brush used to draw the track if the component is disabled.

disabledOverflowTrackBrush: Brush

Brush used to draw the overflow track if the component is disabled.

Public functions

copy

Added in 1.0.0-alpha30
fun copy(
    indicatorBrush: Brush? = null,
    trackBrush: Brush? = null,
    overflowTrackBrush: Brush? = null,
    disabledIndicatorBrush: Brush? = null,
    disabledTrackBrush: Brush? = null,
    disabledOverflowTrackBrush: Brush? = null
): ProgressIndicatorColors

Returns a copy of this ProgressIndicatorColors optionally overriding some of the values.

Parameters
indicatorBrush: Brush? = null

Brush used to draw the indicator of progress indicator.

trackBrush: Brush? = null

Brush used to draw the track of progress indicator.

overflowTrackBrush: Brush? = null

Brush used to draw the track for progress overflow.

disabledIndicatorBrush: Brush? = null

Brush used to draw the indicator if the component is disabled.

disabledTrackBrush: Brush? = null

Brush used to draw the track if the component is disabled.

disabledOverflowTrackBrush: Brush? = null

Brush used to draw the overflow track if the component is disabled.

copy

fun copy(
    indicatorColor: Color = Color.Unspecified,
    trackColor: Color = Color.Unspecified,
    overflowTrackColor: Color = Color.Unspecified,
    disabledIndicatorColor: Color = Color.Unspecified,
    disabledTrackColor: Color = Color.Unspecified,
    disabledOverflowTrackColor: Color = Color.Unspecified
): ProgressIndicatorColors

Returns a copy of this ProgressIndicatorColors optionally overriding some of the values.

Parameters
indicatorColor: Color = Color.Unspecified

The indicator color.

trackColor: Color = Color.Unspecified

The track color.

overflowTrackColor: Color = Color.Unspecified

The overflow track color.

disabledIndicatorColor: Color = Color.Unspecified

The disabled indicator color.

disabledTrackColor: Color = Color.Unspecified

The disabled track color.

disabledOverflowTrackColor: Color = Color.Unspecified

The disabled overflow track color.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

disabledIndicatorBrush

Added in 1.0.0-alpha30
val disabledIndicatorBrushBrush

Brush used to draw the indicator if the component is disabled.

disabledOverflowTrackBrush

Added in 1.0.0-alpha30
val disabledOverflowTrackBrushBrush

Brush used to draw the overflow track if the component is disabled.

disabledTrackBrush

Added in 1.0.0-alpha30
val disabledTrackBrushBrush

Brush used to draw the track if the component is disabled.

indicatorBrush

Added in 1.0.0-alpha30
val indicatorBrushBrush

Brush used to draw the indicator of progress indicator.

overflowTrackBrush

Added in 1.0.0-alpha30
val overflowTrackBrushBrush

Brush used to draw the track for progress overflow (>100%).

trackBrush

Added in 1.0.0-alpha30
val trackBrushBrush

Brush used to draw the track of progress indicator.