class

CrImage::Draw::DashedLineStyle

Inherits Reference / Object

DashedLineStyle defines the appearance of a dashed or dotted line

Constructors

dashed(color : Color::Color) : DashedLineStyle

Preset for dashed line

Source
dotted(color : Color::Color) : DashedLineStyle

Preset for dotted line

Source
long_dash(color : Color::Color) : DashedLineStyle

Preset for long dashes

Source
new(color : CrImage::Color::Color, dash_length : Int32 = 5, gap_length : Int32 = 3, thickness : Int32 = 1)
Source

Instance methods

color
Source
color=(color : Color::Color)
Source
dash_length
Source
dash_length=(dash_length : Int32)
Source
gap_length
Source
gap_length=(gap_length : Int32)
Source
thickness
Source
thickness=(thickness : Int32)
Source
with_dash(dash : Int32, gap : Int32) : self
Source
with_thickness(thickness : Int32) : self
Source