position_to_coords


Description:

public bool position_to_coords (int position, out float x, out float y, out float line_height = null)

Retrieves the coordinates of the given position.

Parameters:

this

a Text

position

position in characters

x

return location for the X coordinate, or null

y

return location for the Y coordinate, or null

line_height

return location for the line height, or null

Returns:

true if the conversion was successful




2022 vala-language.org