CrImage::Draw::MarkerStyle
Inherits Reference / Object
MarkerStyle defines the appearance of a marker.
Constructors
filled(type : MarkerType, color : Color::Color, size : Int32 = 8) : MarkerStyle
Preset: filled marker
filled_outlined(type : MarkerType, fill : Color::Color, stroke : Color::Color, size : Int32 = 8, thickness : Int32 = 1) : MarkerStyle
Preset: filled with outline
new(type : CrImage::Draw::MarkerType = MarkerType::Circle, size : Int32 = 8, fill_color : CrImage::Color::Color | Nil = nil, stroke_color : CrImage::Color::Color | Nil = nil, stroke_thickness : Int32 = 1)
Sourceoutlined(type : MarkerType, color : Color::Color, size : Int32 = 8, thickness : Int32 = 2) : MarkerStyle
Preset: outlined marker
Instance methods
fill_color
Sourcefill_color=(fill_color : Color::Color | Nil)
Sourcesize
Sourcesize=(size : Int32)
Sourcestroke_color
Sourcestroke_color=(stroke_color : Color::Color | Nil)
Sourcestroke_thickness
Sourcestroke_thickness=(stroke_thickness : Int32)
Sourcetype
Sourcetype=(type : MarkerType)
Source