Skip to content

Commit

Permalink
chore: adding label properties with default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaxelaire Lucas committed Oct 24, 2023
1 parent 8513df0 commit 90885a7
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.utsman.osmandcompose.model


//class LabelProperties for Marker with label
//With default parameters that can be customized
data class LabelProperties(
val labelColor : Int = android.graphics.Color.BLACK,
val labelTextSize : Float = 40f,
val labelAntiAlias : Boolean = true,
val labelAlign : android.graphics.Paint.Align = android.graphics.Paint.Align.CENTER,
val labelTextOffset : Float = 30f
)

0 comments on commit 90885a7

Please sign in to comment.