Companion
object Companion
Functions
Link copied to clipboard
Link copied to clipboard
Finds the gravity that best matches the rotation component in a PangoMatrix
.
Link copied to clipboard
Returns the gravity to use in laying out a PangoItem
.
Link copied to clipboard
fun getForScriptAndWidth(script: Script, wide: Boolean, baseGravity: Gravity, hint: GravityHint): Gravity
Returns the gravity to use in laying out a single character or PangoItem
.
Link copied to clipboard
Converts a PangoGravity
value to its natural rotation in radians.