collisionMode
A mode that determines the shape of the collision frame.
Declaration
get collisionMode(): CollisionMode;
set collisionMode(value: CollisionMode);Discussion
The collision mode indicates whether the annotation collides, and, if so, the shape of an annotation’s collision frame:
- Rectangle
Indicates the bounding box of the annotation.
- Circle
Indicates a circle within the bounding box.
- None
Indicates the annotation doesn’t collide with other annotations.
The default value is Rectangle.