TextMetrics

Overview

The TextMetrics interface represents the dimensions of a piece of text in the canvas; a textMetrics() instance can be retrieved using the CanvasRenderingContext2D.measureText() method.

Location

Properties


actualBoundingBoxAscent

 

property actualBoundingBoxAscent: Int32 read;

 

Int32 actualBoundingBoxAscent { get; }

 

var actualBoundingBoxAscent: Int32 { get{} }

 

Int32 actualBoundingBoxAscent { __get; }

 

ReadOnly Property actualBoundingBoxAscent() As Int32

actualBoundingBoxDescent

 

property actualBoundingBoxDescent: Int32 read;

 

Int32 actualBoundingBoxDescent { get; }

 

var actualBoundingBoxDescent: Int32 { get{} }

 

Int32 actualBoundingBoxDescent { __get; }

 

ReadOnly Property actualBoundingBoxDescent() As Int32

actualBoundingBoxLeft

 

property actualBoundingBoxLeft: Int32 read;

 

Int32 actualBoundingBoxLeft { get; }

 

var actualBoundingBoxLeft: Int32 { get{} }

 

Int32 actualBoundingBoxLeft { __get; }

 

ReadOnly Property actualBoundingBoxLeft() As Int32

actualBoundingBoxRight

 

property actualBoundingBoxRight: Int32 read;

 

Int32 actualBoundingBoxRight { get; }

 

var actualBoundingBoxRight: Int32 { get{} }

 

Int32 actualBoundingBoxRight { __get; }

 

ReadOnly Property actualBoundingBoxRight() As Int32

alphabeticBaseline

 

property alphabeticBaseline: Int32 read;

 

Int32 alphabeticBaseline { get; }

 

var alphabeticBaseline: Int32 { get{} }

 

Int32 alphabeticBaseline { __get; }

 

ReadOnly Property alphabeticBaseline() As Int32

emHeightAscent

 

property emHeightAscent: Int32 read;

 

Int32 emHeightAscent { get; }

 

var emHeightAscent: Int32 { get{} }

 

Int32 emHeightAscent { __get; }

 

ReadOnly Property emHeightAscent() As Int32

emHeightDescent

 

property emHeightDescent: Int32 read;

 

Int32 emHeightDescent { get; }

 

var emHeightDescent: Int32 { get{} }

 

Int32 emHeightDescent { __get; }

 

ReadOnly Property emHeightDescent() As Int32

fontBoundingBoxAscent

 

property fontBoundingBoxAscent: Int32 read;

 

Int32 fontBoundingBoxAscent { get; }

 

var fontBoundingBoxAscent: Int32 { get{} }

 

Int32 fontBoundingBoxAscent { __get; }

 

ReadOnly Property fontBoundingBoxAscent() As Int32

fontBoundingBoxDescent

 

property fontBoundingBoxDescent: Int32 read;

 

Int32 fontBoundingBoxDescent { get; }

 

var fontBoundingBoxDescent: Int32 { get{} }

 

Int32 fontBoundingBoxDescent { __get; }

 

ReadOnly Property fontBoundingBoxDescent() As Int32

hangingBaseline

 

property hangingBaseline: Int32 read;

 

Int32 hangingBaseline { get; }

 

var hangingBaseline: Int32 { get{} }

 

Int32 hangingBaseline { __get; }

 

ReadOnly Property hangingBaseline() As Int32

ideographicBaseline

 

property ideographicBaseline: Int32 read;

 

Int32 ideographicBaseline { get; }

 

var ideographicBaseline: Int32 { get{} }

 

Int32 ideographicBaseline { __get; }

 

ReadOnly Property ideographicBaseline() As Int32

width

 

property width: Int32 read;

 

Int32 width { get; }

 

var width: Int32 { get{} }

 

Int32 width { __get; }

 

ReadOnly Property width() As Int32