-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Depends on:
- Implement mid-level
Textobject andTextViewfor attributes #57 - Implement Sprite rotation attributes #55
The TextView object should allow the API user to specify a rotation to the containing box.
Proposed example:
const text: Text = scene.createText();
text.enter((t: TextView) => {
t.TextRotation = Math.PI / 2; // Rotate box 90 degrees, vertical.
});API proposal:
/**
* How the text box should be rotated around the anchor point.
*/
{
attributeName: 'TextRotation',
isInterpolable: true,
},Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request