Added in API level 1

Metrics


open class Metrics : Paint.FontMetricsInt
kotlin.Any
   ↳ android.graphics.Paint.FontMetricsInt
   ↳ android.text.BoringLayout.Metrics

Summary

Public constructors

Public methods
open RectF

Returns drawing bounding box.

open String

Inherited functions
Properties
Int

Inherited properties

Public constructors

Metrics

Metrics()

Public methods

getDrawingBoundingBox

Added in API level 35
open fun getDrawingBoundingBox(): RectF

Returns drawing bounding box.

Return
RectF a drawing bounding box. This value cannot be null.

toString

Added in API level 1
open fun toString(): String
Return
String a string representation of the object.

Properties

width

Added in API level 1
var width: Int