class

Celestine::Drawable::Transform

Inherits Reference / Object

A transform class used to interact with the transform attribute

Instance methods

empty?
Source
matrix(a : Float64, b : Float64, c : Float64, d : Float64, e : Float64, f : Float64)
Source
objects_io
Source
rotate(degrees, origin_x, origin_y)
Source
scale(x, y)
Source
skew_x(x)
Source
skew_y(y)
Source
to_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.

Source
translate(x, y)
Source