CrImage::Draw::ArrowStyle
Inherits Reference / Object
ArrowStyle defines the appearance of an arrow.
Constructors
double(color : Color::Color, thickness : Int32 = 2, head_size : Int32 = 12) : ArrowStyle
Preset: double arrow (heads at both ends)
new(color : CrImage::Color::Color, thickness : Int32 = 1, head_type : CrImage::Draw::ArrowHeadType = ArrowHeadType::Triangle, head_size : Int32 = 10, head_at_start : Bool = false, head_at_end : Bool = true, anti_alias : Bool = false)
Sourceopen(color : Color::Color, thickness : Int32 = 2, head_size : Int32 = 12) : ArrowStyle
Preset: open arrow head
single(color : Color::Color, thickness : Int32 = 2, head_size : Int32 = 12) : ArrowStyle
Preset: single arrow (head at end)
Instance methods
anti_alias
Sourceanti_alias=(anti_alias : Bool)
Sourcecolor
Sourcecolor=(color : Color::Color)
Sourcehead_at_end
Sourcehead_at_end=(head_at_end : Bool)
Sourcehead_at_start
Sourcehead_at_start=(head_at_start : Bool)
Sourcehead_size
Sourcehead_size=(head_size : Int32)
Sourcehead_type
Sourcehead_type=(head_type : ArrowHeadType)
Sourcethickness
Sourcethickness=(thickness : Int32)
Source