The TextMetrics interface represents the dimensions of a piece
text in the canvas, as created by the web.CanvasRenderingContext2D.measureText()
The TextMetrics interface represents the dimensions of a piece text in the canvas, as created by the `web.CanvasRenderingContext2D.measureText()`
(set-width! this val)Property.
The read-only width property of the web.TextMetrics interface
the text's advance width (the width of that inline box) in CSS
var width = metrics.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width
Property. The read-only width property of the `web.TextMetrics` interface the text's advance width (the width of that inline box) in CSS `var width = metrics.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width`
(width this)Property.
The read-only width property of the web.TextMetrics interface
the text's advance width (the width of that inline box) in CSS
var width = metrics.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width
Property. The read-only width property of the `web.TextMetrics` interface the text's advance width (the width of that inline box) in CSS `var width = metrics.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |