Source set: JvmAndAndroid
public class RemoteFontMetrics(
/**
* Contains the font ascent in pixels relative to the baseline (negative above baseline).
*
* * Corresponds to [android.graphics.Paint.FontMetrics.ascent] (and `getLineTop(0) -
* firstBaseline` on [androidx.compose.ui.text.TextLayoutResult] when `includeFontPadding` is
* `false`).
*/
public val ascent: RemoteFloat,
/**
* Contains the font descent in pixels relative to the baseline (positive below baseline).
*
* * Corresponds to [android.graphics.Paint.FontMetrics.descent] (and `getLineBottom(0) -
* firstBaseline` on [androidx.compose.ui.text.TextLayoutResult] when `includeFontPadding` is
* `false`).
*/
public val descent: RemoteFloat,
)
Contains the font ascent and descent measured by RemoteTextMeasurer.measureFontMetrics.
Functions
equals
Source set: JvmAndAndroid
override fun equals(other: Any?): Boolean
hashCode
Source set: JvmAndAndroid
override fun hashCode(): Int
toString
Source set: JvmAndAndroid
override fun toString(): String