get_orientation


Description:

[ Version ( since = "2.4" ) ]
public Orientation get_orientation ()

Returns the orientation used for this.

Custom subclasses of ToolItem should call this function to find out what size icons they should use.

Parameters:

this

a ToolItem

Returns:

a Orientation indicating the orientation used for this