TextIF.getCharacterExtents

Get the bounding box containing the glyph representing the character at a particular text offset.

interface TextIF
void
getCharacterExtents
(
int offset
,
out int x
,
out int y
,
out int width
,
out int height
,)

Parameters

offset int

The offset of the text character for which bounding information is required.

x int

Pointer for the x coordinate of the bounding box

y int

Pointer for the y coordinate of the bounding box

width int

Pointer for the width of the bounding box

height int

Pointer for the height of the bounding box

coords AtkCoordType

specify whether coordinates are relative to the screen or widget window

Meta