Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MeasurementParameters

Optional parameters passed on TextCanvas.measureText function call.

Hierarchy

  • MeasurementParameters

Index

Properties

Optional letterCaseArray

letterCaseArray: boolean[]

Array containing info on whether the glyphs are upper or lower case. Needed to support SmallCaps.

Optional outputCharacterBounds

outputCharacterBounds: Box2[]

Output per-character bounds.

Optional path

path: Path | CurvePath<Vector2>

Path where text should be placed on. Overrides the original position parameter.

Optional pathOverflow

pathOverflow: undefined | false | true

If true, text on a path will be placed even when its size its bigger than the path's size.

Generated using TypeDoc