class Line

Defined in:

lib/line.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x1 : Float64, y1 : Float64, x2 : Float64, y2 : Float64, color : Rl::Color = Rl::WHITE) #

[View source]

Instance Method Detail

def draw(x_offset, y_offset) #

[View source]
def draw #

[View source]
def rotate(deg : Float64) #

[View source]