Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

Class Metrics

Metrics provided by the font to position glyphs. Quantities are in tile coordinates, typically [0, 1].

Hierarchy

  • Metrics

Index

Classes

Constructors

Properties

Methods

Constructors

constructor

Properties

advancePen

advancePen: AdvancePen

Pen advance in the AdvanceDirection to draw the next glyph.

horizBB

horizBB: BoundingBox

The bounding box of the glyph within its tile for horizontal layouts.

padding

padding: [number, number]

Padding for the glyph's width and height, respectively, added for image effects. The default indicates the glyph is not padded; i.e., it fits snugly into its bounding box.

vertBB

vertBB: BoundingBox

The bounding box of the glyph within its tile for vertical layouts.

Methods

toString

  • toString(): string

Generated using TypeDoc