class Line

Defined in:

line.cr

Constructors

Instance Method Summary

Instance methods inherited from class Renderable

a : UInt8 a, a=(a : UInt8) a=, b : UInt8 b, b=(b : UInt8) b=, g : UInt8 g, g=(g : UInt8) g=, r : UInt8 r, r=(r : UInt8) r=, render(renderer) render

Constructor methods inherited from class Renderable

new(r : UInt8 = 0, g : UInt8 = 0, b : UInt8 = 0, a : UInt8 = 255) new

Constructor Detail

def self.new(x1 : Float64 = 0.0, y1 : Float64 = 0.0, x2 : Float64 = 0.0, y2 : Float64 = 0.0, r = 0_u8, g = 0_u8, b = 0_u8, a = 255_u8) #

[View source]

Instance Method Detail

def render(renderer) #

[View source]