Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdditionParameters

Optional parameters passed on TextCanvas.addText function call.

Hierarchy

  • AdditionParameters

Index

Properties

Optional layer

layer: undefined | number

Layer where text will be added.

Optional letterCaseArray

letterCaseArray: boolean[]

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

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.

Optional pickingData

pickingData: any

Object containing additional data intended to be retrieved during picking.

Optional updatePosition

updatePosition: undefined | false | true

If true, the input position parameter will be updated to contain the position of the last glyph added.

Generated using TypeDoc