Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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()

void setTransform(AffineMatrix* matrix)
This method sets a new 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.
Last modified on October 29, 2026