class
Celestine::Drawable::Transform
- Celestine::Drawable::Transform
- Reference
- Object
Overview
A transform class used to interact with the transform attribute
Defined in:
drawables/drawable.crInstance Method Summary
- #empty?
- #matrix(a : Number, b : Number, c : Number, d : Number, e : Number, f : Number)
- #objects_io : IO::Memory
- #rotate(degrees, origin_x = nil, origin_y = nil)
- #scale(x, y = nil)
- #skew_x(x)
- #skew_y(y)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #translate(x, y)
Instance Method Detail
def to_s
#
Description copied from class Object
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.