Celestine::Drawable::Transform
Inherits Reference / Object
A transform class used to interact with the transform attribute
Instance methods
empty?
Sourcematrix(a : Float64, b : Float64, c : Float64, d : Float64, e : Float64, f : Float64)
Sourceobjects_io
Sourcerotate(degrees, origin_x, origin_y)
Sourcescale(x, y)
Sourceskew_x(x)
Sourceskew_y(y)
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
translate(x, y)
Source