Class TextMetricsItem
- java.lang.Object
- 
- org.pepstock.charba.client.dom.elements.TextMetricsItem
 
- 
 @JsType(isNative=true, name="TextMetrics", namespace="<global>") public final class TextMetricsItem extends ObjectRepresents the dimensions of a piece of text in the canvas, as created by theContext2dItem.measureText(String)method.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetWidth()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..
 
-