get_scale_factor


Description:

[ Version ( since = "1.18" ) ]
public int get_scale_factor ()

Retrieves the scaling factor of this, as set using set_scale_factor.

Parameters:

this

a Canvas

Returns:

the scaling factor, or -1 if the this uses the default from Settings