documentationfor yFiles for HTML 3.0.0.3

SnapConstraint

Implementations of this class describe the constraint for a pointer location so that a SnapResult is considered to be snapped.

Inheritance Hierarchy
SnapConstraint

Remarks

This class usually does not need to be subclassed. Instead, the factory methods createPointConstraint, createLineConstraint, and createCircleConstraint should be called.

The location is a preferred location that satisfies this constraint.

Type Details

yFiles module
view

Constructors

Properties

Methods

Static Methods