class

CrImage::Draw::CircleStyle

Inherits Reference / Object

CircleStyle defines the appearance of a circle or ellipse

Constructors

build

DSL-style builder

Source
new(color : CrImage::Color::Color, fill : Bool = false, anti_alias : Bool = false, thickness : Int32 = 1, blend_mode : CrImage::Draw::BlendMode | Nil = nil)
Source

Instance methods

anti_alias
Source
anti_alias=(anti_alias : Bool)
Source
blend_mode
Source
blend_mode=(blend_mode : BlendMode | Nil)
Source
color
Source
color=(color : Color::Color)
Source
fill
Source
fill=(fill : Bool)
Source
thickness
Source
thickness=(thickness : Int32)
Source
with_anti_alias(enabled : Bool = true) : self
Source
with_blend_mode(mode : BlendMode) : self
Source
with_color(color : Color::Color) : self
Source
with_fill(enabled : Bool = true) : self

Builder pattern methods for fluent API

Source
with_thickness(thickness : Int32) : self
Source