struct
UI::CanvasOp
- UI::CanvasOp
- Struct
- Value
- Object
Defined in:
ui/views/canvas.crConstructors
Instance Method Summary
- #clone
- #color : Color
- #command : DrawCommand
- #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)
- #end_angle : Float64
- #radius : Float64
- #start_angle : Float64
- #x : Float64
- #x2 : Float64
- #x3 : Float64
- #y : Float64
- #y2 : Float64
- #y3 : Float64
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))
#
Instance Method Detail
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)
#