get_natural_extents


Description:

public void get_natural_extents (out Rectangle ink_rect, out Rectangle logical_rect)

Gets the natural extents of the text, in the text item's coordinate space.

The final extents of the text may be different, if the text item is placed in a layout container such as CanvasTable.

Parameters:

this

a CanvasText.

ink_rect

the location to return the ink rect, or null.

logical_rect

the location to return the logical rect, or null.




2022 vala-language.org