DK for Delphi | GisClasses.TGIS_EditorSnapType | Enums
Editor snap type.
// Delphi type TGIS_EditorSnapType = ( Point, Line, Custom, PointOverLine, EndPoint, Midpoint, Perpendicular, GridPoint );
// C++ Builder enum DECLSPEC_DENUM TGIS_EditorSnapType unsigned short { Point, Line, Custom, PointOverLine, EndPoint, Midpoint, Perpendicular, GridPoint };
Name | Value | Description | |
---|---|---|---|
Point | Snap to the position of the nearest vertex within the set distance tolerance. | ||
Line | Snap to a line segment or polygon edge (closest position). | ||
Custom | Custom snap to user defined point from event. | ||
PointOverLine | Prefer snap to a vertex over the nearest shape intersection, a line segment or polygon edge. | ||
EndPoint | Snap to the first or last vertex of a line or polygon shape. | ||
Midpoint | Snap to a line or polygon edge at the midpoint position between any two sequential vertices forming the line or edge. | ||
Perpendicular | Snap to the point on a nearby line segment or polygon edge that results in a perpendicular (90 degree) line drawn from the previously drawn point. | ||
GridPoint | Snap to grid points defined by grid spacing. | ||