iconPadding property

NSExpression get iconPadding

Size of additional area round the icon bounding box used for detecting symbol collisions.

This property is measured in points.

The default value of this property is an expression that evaluates to an NSValue object containing a UIEdgeInsets struct set to 2 points on all sides. Set this property to nil to reset it to the default value.

This property is only applied to the style if iconImageName is non-nil. Otherwise, it is ignored.

You can set this property to an expression containing any of the following:

Constant UIEdgeInsets values Predefined functions, including mathematical and string operators Conditional expressions Variable assignments and references to assigned variables Interpolation and step functions applied to the $zoomLevel variable and/or feature attributes

Implementation

NSExpression get iconPadding {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_iconPadding);
  return NSExpression.castFromPointer(_ret, retain: true, release: true);
}
set iconPadding (NSExpression value)

Size of additional area round the icon bounding box used for detecting symbol collisions.

This property is measured in points.

The default value of this property is an expression that evaluates to an NSValue object containing a UIEdgeInsets struct set to 2 points on all sides. Set this property to nil to reset it to the default value.

This property is only applied to the style if iconImageName is non-nil. Otherwise, it is ignored.

You can set this property to an expression containing any of the following:

Constant UIEdgeInsets values Predefined functions, including mathematical and string operators Conditional expressions Variable assignments and references to assigned variables Interpolation and step functions applied to the $zoomLevel variable and/or feature attributes

Implementation

set iconPadding(NSExpression value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setIconPadding_, value.ref.pointer);

}