class Looper::RoadRail

Defined in:

looper/road_rail.cr

Constant Summary

THICKNESS = 5

Constructors

Instance Method Summary

Constructor Detail

def self.new(v1 : Looper::Vector, v2 : Looper::Vector, thickness : Int32 = THICKNESS, color : Color = Color::Red) #

[View source]

Instance Method Detail

def color : Color #

[View source]
def color=(color : Color) #

[View source]
def draw #

[View source]
def v1 : Vector #

[View source]
def v1=(v1 : Vector) #

[View source]
def v2 : Vector #

[View source]
def v2=(v2 : Vector) #

[View source]