getCharExtents

fun getCharExtents(logicalRect: Rectangle)

Gets the extents of the current character, in layout coordinates.

Layout coordinates have the origin at the top left of the entire layout.

Only logical extents can sensibly be obtained for characters; ink extents make sense only down to the level of clusters.

Parameters

logicalRect

rectangle to fill with logical extents