ScalebarDefaults

Contains the default values used by Scalebar.

Since

200.7.0

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun shapes(textShadowBlurRadius: Float = 0.0f, barCornerRadius: Float = 0.0f): ScalebarShapes

Creates an instance of ScalebarShapes with default values. textShadowBlurRadius is set to 0f, meaning no shadow blur will be applied. barCornerRadius is set to 0f, resulting in a square corner.

Link copied to clipboard
fun typography(labelStyle: TextStyle = MaterialTheme.typography.titleSmall): LabelTypography

Creates an instance of LabelTypography with default values.