The <text> element.

The text-element-data type represents a syllable or portion of a syllable for lyric text underlay. A hyphen in the string content should only be used for an actual hyphenated word. Language names for text elements come from ISO 639, with optional country subcodes from ISO 3166.

Hierarchy

  • Text

Implements

Constructors

Properties

attributes: TextAttributes
contents: TextContents
schema: XMLElementSchema<"text"> = Text.schema
schema: XMLElementSchema<"text"> = schema.Text

Methods

  • Gets

    Returns null | number | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large"

  • Sets

    Parameters

    • fontSize: null | number | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large"

    Returns Text

Generated using TypeDoc