ISnapElement
Referencespublic interface ISnapElement
Base interface for all snapping elements (points, lines, segments, circles, what have you.
Properties
Methods
DistanceTo
#Compute the distance from a point to this snapping element.
Parameters:
| point (PointF) | Point to test. |
Returns: Distance between point and element.
IsInRange
#Gets whether a point is within reach of this snapping element.
Parameters:
| point (PointF) | Point to test. |
Returns: True if the distance from the point to the element is less than or equal to the snapping radius.
Project
#Project a point to this snapping element.