Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • PreciseText

Index

Constructors

  • Parameters

    • Rest ...args: any[]

    Returns PreciseText

Properties

_autoResolution: boolean
_resolution: number

Methods

  • getTextStyle([options={}]?: { anchor: number }): TextStyle
  • Prepare a TextStyle object which merges the canvas defaults with user-provided options

    Parameters

    • [options={}]: { anchor: number } = {}

      Additional options merged with the default TextStyle

      • anchor: number

    Returns TextStyle

    The prepared TextStyle