get_font_size


Description:

[ Version ( since = "2.6" ) ]
public double get_font_size (out unowned Unit unit)

Get the font size from a text layer.

This procedure returns the size of the font which is used in a text layer. You will receive the size as a double 'font-size' in 'unit' units.

Parameters:

this

The text layer.

unit

The unit used for the font size.

Returns:

The font size.