Marker
public struct Marker : Codable
-
Size of the marker in pixels
Declaration
Swift
public var size: Double?
-
Foreground color of the marker
Declaration
Swift
public var foregroundColor: Color?
-
Background color of the marker
Declaration
Swift
public var backgroundColor: Color?
-
Construct a
MPIOptions.LabelAppearance.Marker
object with the given propertiesDeclaration
Swift
public init( size: Double? = nil, foregroundColor: MPIOptions.FloatingLabelAppearance.Color? = nil, backgroundColor: MPIOptions.FloatingLabelAppearance.Color? = nil )
Parameters
size
set the size of the marker in pixels
foregroundColor
set the foreground color of the marker
backgroundColor
set the background color of the marker