CrImage::Draw::Pattern
Inherits Reference / Object
Constructors
crosshatch(color : Color::Color, spacing : Int32 = 8, thickness : Int32 = 1) : Pattern
Sourcediagonal(color : Color::Color, spacing : Int32 = 8, thickness : Int32 = 2) : Pattern
Sourcedots(color : Color::Color, spacing : Int32 = 8, size : Int32 = 2) : Pattern
Sourcehorizontal(color : Color::Color, spacing : Int32 = 6, thickness : Int32 = 2) : Pattern
Preset patterns for common use cases
new(type : CrImage::Draw::PatternType = PatternType::Solid, color : CrImage::Color::Color = Color::BLACK, background : CrImage::Color::Color | Nil = nil, spacing : Int32 = 8, thickness : Int32 = 1)
Sourcevertical(color : Color::Color, spacing : Int32 = 6, thickness : Int32 = 2) : Pattern
SourceInstance methods
background
Sourcebackground=(background : Color::Color | Nil)
Sourcecolor
Sourcecolor=(color : Color::Color)
Sourcespacing
Sourcespacing=(spacing : Int32)
Sourcethickness
Sourcethickness=(thickness : Int32)
Sourcetype
Sourcetype=(type : PatternType)
Source