Skip to content

Implement Text rotation attributes #59

@jimbojw

Description

@jimbojw

Depends on:

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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions