IconFit

IconFit class

Describes how the widget annotation’s icon shall be displayed within its annotation rectangle.

The IconFit type exposes the following members:

Properties

NameDescription
scaling_reasonGets or sets scaling reason.
scaling_modeThe type of scaling that shall be used. ///
leftover_leftGets or sets space to allocate at the left of the icon.
leftover_bottomGets or sets space to allocate at the bottom of the icon.
spread_on_borderIf true, indicates that the button appearance shall be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.

Methods

NameDescription
name_to_scaling_reason(reason)Converts name of scaling reason into ScalingReason object.
scaling_reason_to_name(reason)Converts scaling reason obejct to name.
name_to_scaling_mode(mode)Converts scaling mode name into ScalingMode object.
scaling_mode_to_name(mode)Converts scaling mode object into name.

See Also