@DOMNameAttribute(name="TextMetrics") public interface ITextMetrics
Represents the dimension of a text in the canvas.
Modifier and Type | Method and Description |
---|---|
double |
getWidth()
Is a double giving the calculated width of a segment of inline text in CSS pixels.
|
@DOMNameAttribute(name="width") double getWidth()
Is a double giving the calculated width of a segment of inline text in CSS pixels.