Skip to content

TextElement

Shane Brinkman-Davis edited this page Mar 21, 2016 · 6 revisions
  • all things text

Properties

  • Element Properties
  • Shape Element Properties
  • text - the text string to render
  • Layout properties
    • leading - number. Spacing from one line to the next = fontSize * leading (default: 1.25)
    • align - legal Art.Atomic.Point values between point0 and point1 (default: 'left')
    • layoutMode - 'textual', 'textualBaseline', 'tight' or 'tight0' (default: 'textualBaseline')
    • overflow - 'visible','clipped' or 'ellipsis' (default: 'ellipsis')
    • maxLines - number (default: null)
  • Font properties: (see: css font properties)
    • fontStyle - 'normal'
    • fontVariant - 'normal'
    • fontWeight - 'normal'
    • fontSize - 16
    • fontFamily - 'Times'

Clone this wiki locally