class UIng::Area::Draw::StrokeParams

Included Modules

Defined in:

uing/area/area/draw/stroke_params.cr

Constructors

Instance Method Summary

Macros inherited from module UIng::BlockConstructor

block_constructor block_constructor

Constructor Detail

def self.new(*args, &) #

[View source]
def self.new(*args, **kwargs, &) #

[View source]
def self.new(cap : UIng::Area::Draw::LineCap = Flat, join : UIng::Area::Draw::LineJoin = Miter, thickness : Number = 0.0, miter_limit : Number = 0.0, dash_phase : Number = 0.0, dashes : Enumerable(Float64) | Nil = nil) #

[View source]

Instance Method Detail

Basic properties with direct delegation


[View source]
def cap=(value : UIng::Area::Draw::LineCap) #

[View source]
def dash_phase : Float64 #

[View source]
def dash_phase=(value : Float64) #

[View source]
def dashes : Array(Float64) #

Dashes property using Crystal Array


[View source]
def dashes=(values : Array(Float64)) #

[View source]
def dashes=(values : Enumerable(Float64)) #

[View source]

[View source]
def join=(value : UIng::Area::Draw::LineJoin) #

[View source]
def miter_limit : Float64 #

[View source]
def miter_limit=(value : Float64) #

[View source]
def num_dashes : Int32 #

[View source]
def thickness : Float64 #

[View source]
def thickness=(value : Float64) #

[View source]
def to_unsafe #

[View source]