Class

IconCollisionHandler

IconCollisionHandler(options)

Constructor

# new IconCollisionHandler(options)

Creates an instance of IconCollisionHandler.

Parameters:
Name Type Attributes Default Description
options object

Options for the collision handler.

padding number <optional>
4

The padding to apply around the icon.

scaleFactor number <optional>
0.9

The scale factor to apply to the icon.