colors

fun colors(fillColor: Color = Color.Gray, alternateFillColor: Color = Color.Black, lineColor: Color = Color.White, shadowColor: Color = Color.Black.copy(alpha = 0.65f), textColor: Color = Color.Black, textShadowColor: Color = Color.White): ScalebarColors

Creates an instance of ScalebarColors with default values.

Since

200.7.0

Parameters

fillColor

The fill color used for ScalebarStyle.Bar and ScalebarStyle.AlternatingBar Scalebar.

alternateFillColor

The second color used for for ScalebarStyle.Bar and ScalebarStyle.AlternatingBar Scalebar.

lineColor

The color used for the Scalebar's line color.

shadowColor

The color used for the Scalebar's shadow color.

textColor

The color used for the Scalebar's text labels.

textShadowColor

The color used for the Scalebar label's shadow color.