User Tools

Site Tools


api:dk11:delphi:gisclasses.tgis_editorsnaptype

Table of Contents

TGIS_EditorSnapType enum

DK11 for Delphi | GisClasses.TGIS_EditorSnapType | Enums

Editor snap type.

Available also on: .NET | Java | ActiveX.

Syntax

// 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
};

Members

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.

2020/09/22 01:05

Page Tools