LocationPuckColors

@Immutable
class LocationPuckColors(val dotFillColorCurrentLocation: Color = Color.Companion.Blue, val dotFillColorOldLocation: Color = Color.Companion.Gray, val dotStrokeColor: Color = Color.Companion.White, val shadowColor: Color = Color.Companion.Black, val accuracyStrokeColor: Color = Color.Companion.Blue, val accuracyFillColor: Color = accuracyStrokeColor.copy(alpha = 0.3f), val bearingColor: Color = Color.Companion.Red)(source)

Colors for LocationPuck

Parameters

dotFillColorCurrentLocation

the fill color of the main indicator dot, when location is not old

dotFillColorOldLocation

the fill color of the main indicator dot, when location is considered old

dotStrokeColor

the stroke color for the border of the main indicator dot

shadowColor

the color of the main indicator's shadow

accuracyFillColor

the fill color of the accuracy circle

accuracyStrokeColor

the stroke color of the accuracy circle's border

bearingColor

the color of the bearing indicator

Constructors

Link copied to clipboard
constructor(dotFillColorCurrentLocation: Color = Color.Companion.Blue, dotFillColorOldLocation: Color = Color.Companion.Gray, dotStrokeColor: Color = Color.Companion.White, shadowColor: Color = Color.Companion.Black, accuracyStrokeColor: Color = Color.Companion.Blue, accuracyFillColor: Color = accuracyStrokeColor.copy(alpha = 0.3f), bearingColor: Color = Color.Companion.Red)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val bearingColor: Color
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val dotStrokeColor: Color
Link copied to clipboard
val shadowColor: Color