CrImage::Draw::PolygonStyle
Inherits Reference / Object
PolygonStyle defines the appearance of a polygon
Constructors
new(outline_color : CrImage::Color::Color | Nil = nil, fill_color : CrImage::Color::Color | Nil = nil, anti_alias : Bool = false, blend_mode : CrImage::Draw::BlendMode | Nil = nil)
SourceInstance methods
anti_alias
Sourceanti_alias=(anti_alias : Bool)
Sourceblend_mode
Sourceblend_mode=(blend_mode : BlendMode | Nil)
Sourcefill_color
Sourcefill_color=(fill_color : Color::Color | Nil)
Sourceoutline_color
Sourceoutline_color=(outline_color : Color::Color | Nil)
Sourcewith_anti_alias(enabled : Bool = true) : self
Sourcewith_blend_mode(mode : BlendMode) : self
Sourcewith_fill(color : Color::Color) : self
Source