Added in API level 1
BoringLayout.Metrics
public
static
class
BoringLayout.Metrics
extends Paint.FontMetricsInt
java.lang.Object | ||
↳ | android.graphics.Paint.FontMetricsInt | |
↳ | android.text.BoringLayout.Metrics |
Summary
Fields | |
---|---|
public
int |
width
|
Inherited fields |
---|
Public constructors | |
---|---|
Metrics()
|
Public methods | |
---|---|
RectF
|
getDrawingBoundingBox()
Returns drawing bounding box. |
String
|
toString()
Returns a string representation of the object. |
Inherited methods | |
---|---|
Fields
Public constructors
Metrics
public Metrics ()
Public methods
getDrawingBoundingBox
Added in API level 35
public RectF getDrawingBoundingBox ()
Returns drawing bounding box.
Returns | |
---|---|
RectF |
a drawing bounding box.
This value cannot be null . |
toString
Added in API level 1
public String toString ()
Returns a string representation of the object.
Returns | |
---|---|
String |
a string representation of the object. |