Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITextMetrics

Class used to abstract a text measurement

Hierarchy

  • ITextMetrics

Index

Properties

Readonly actualBoundingBoxLeftSearch playground for actualBoundingBoxLeft

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

Readonly actualBoundingBoxRightSearch playground for actualBoundingBoxRight

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

Readonly widthSearch playground for width

width: number

Text width.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method