class Celestine::Drawable::Transform


A transform class used to interact with the transform attribute

Defined in:

Instance Method Summary

Instance Method Detail

def empty? #

def matrix(a : Float64, b : Float64, c : Float64, d : Float64, e : Float64, f : Float64) #

def objects_io : IO::Memory #

def rotate(degrees, origin_x, origin_y) #

def scale(x, y) #

def skew_x(x) #

def skew_y(y) #

def to_s #
Description copied from class Object

Returns a string representation of this object.

Descendants must usually not override this method. Instead, they must override to_s(io), which must append to the given IO object.

def translate(x, y) #