Text

Properties

  • scaleToFitBoolean

    Scale the text to fit the width or not.

    DEFAULT: false

  • angleNumberoptional

    The rotate angle of Text.

  • widthNumberoptional

    The width of Text. When the width is specified to be a number, the text will warp auto by calculating the width of text.

  • textAnchor'start' | 'middle' | 'end' | 'inherit'

    DEFAULT: start

  • verticalAnchor'start' | 'middle' | 'end'

    DEFAULT: end