ISnapElement

References
public interface ISnapElement : IComparable<ISnapElement>

Properties

Range

#
Gets the radius of influence of this snap element. This value is used for sorting, in that elements with bigger ranges are sorted earlier.
float Range { get; }

Methods

Snap

#
Snap a point to this element.
bool Snap(
x,
Point x coordinate to snap.
y,
Point y coordinate to snap.
out double
snapX,
Snapped x coordinate.
out double
snapY
snapped y coordinate.
)
True if (x, y) got mapped to a different (x', y').