Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to abstract a text measurement

Hierarchy

  • ITextMetrics

Index

Properties

actualBoundingBoxLeft: number

distance (in pixels) parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the left side of the bounding rectangle of the given text

actualBoundingBoxRight: number

distance (in pixels) parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the right side of the bounding rectangle of the given text

width: number

Text width.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme