Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    An extension of the default PIXI.Text object which forces double resolution. At default resolution Text often looks blurry or fuzzy.

    Hierarchy

    • Text
      • PreciseText
    Index

    Methods

    Methods

    • Prepare a TextStyle object which merges the canvas defaults with user-provided options

      Parameters

      • Optionaloptions: { anchor?: number } = {}

        Additional options merged with the default TextStyle

        • Optionalanchor?: number

          A text anchor point from CONST.TEXT_ANCHOR_POINTS

      Returns TextStyle

      The prepared TextStyle