May 2011
Intermediate to advanced
1096 pages
40h 54m
English
TextMetrics — measurements of a string of text
A TextMetrics object is returned by the measureText() method of
CanvasRenderingContext2D. Its width property holds the width of the
measured text, in CSS pixels. Additional metrics may be added in the
future.
readonly double widthThe width, in CSS pixels, of the measured text.
Read now
Unlock full access