Class TextMetricsItem
- java.lang.Object
-
- org.pepstock.charba.client.dom.elements.TextMetricsItem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getWidth()
Return the value giving the calculated width of a segment of inline text in CSS pixels.
It takes in the account the current font of the context..
-
-
-
Method Detail
-
getWidth
@JsProperty public double getWidth()
Return the value giving the calculated width of a segment of inline text in CSS pixels.
It takes in the account the current font of the context..- Returns:
- the value giving the calculated width of a segment of inline text in CSS pixels
-
-