Interface ITransformLayer
interface ITransformLayer
Extends ILayer
Interface for a transformable ILayer in the rendering system.
The ITransformLayer interface defines a ILayer that supports matrix transformations.
Methods
getTransform()
AffineMatrix getTransform()
This method retrieves the current AffineMatrix applied to the ILayer.
The AffineMatrix defines how the ILayer is transformed, including translation, rotation, and scaling.
Returns
AffineMatrix
The current AffineMatrix represented as a 2 by 3 object.
setTransform()
This method sets a newvoidsetTransform(AffineMatrix*matrix)
AffineMatrix for the ILayer and marks the ILayer as invalid,
indicating that it needs to be redrawn with the new configuration.
Parameters
matrix
AffineMatrix* — Required
The new AffineMatrix to be applied to the ILayer.

