struct UI::CanvasOp

Defined in:

ui/views/canvas.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command : DrawCommand, x : Float64 = 0.0, y : Float64 = 0.0, x2 : Float64 = 0.0, y2 : Float64 = 0.0, x3 : Float64 = 0.0, y3 : Float64 = 0.0, radius : Float64 = 0.0, start_angle : Float64 = 0.0, end_angle : Float64 = 0.0, color : Color = Color.new(r: 0.0, g: 0.0, b: 0.0)) #

[View source]

Instance Method Detail

def clone #

[View source]
def color : Color #

def command : DrawCommand #

def copy_with(command _command = @command, x _x = @x, y _y = @y, x2 _x2 = @x2, y2 _y2 = @y2, x3 _x3 = @x3, y3 _y3 = @y3, radius _radius = @radius, start_angle _start_angle = @start_angle, end_angle _end_angle = @end_angle, color _color = @color) #

[View source]
def end_angle : Float64 #

def radius : Float64 #

def start_angle : Float64 #

def x : Float64 #

def x2 : Float64 #

def x3 : Float64 #

def y : Float64 #

def y2 : Float64 #

def y3 : Float64 #