User Tools

Site Tools


api:dk11:delphi:gisclasses.tgis_editormode

Table of Contents

TGIS_EditorMode enum

DK11 for Delphi | GisClasses.TGIS_EditorMode | Enums

Editor vertex adding mode.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
type
  TGIS_EditorMode = (
    Default, Reversed, NearestPoint, AfterActivePoint
  );
// C++ Builder
enum DECLSPEC_DENUM TGIS_EditorMode unsigned short {
  Default, Reversed, NearestPoint, AfterActivePoint
};

Members

Name Value Description
Default Editing behavior will be controlled by MouseBegin() _nearest parameter. Usually TGIS_EditorMode.NearestPoint, but after pressing CTRL same as TGIS_EditorMode.AfterActivePoint.
Reversed Editing will be opposite to default. Usually TGIS_EditorMode.AfterActivePoint, but after pressing CTRL same as TGIS_EditorMode.NearestPoint.
NearestPoint Added vertex modifies the nearest line segment or polygon edge.
AfterActivePoint A new vertex is added sequentially (by vertex number) after the last active vertex.

2022/11/16 01:14

Page Tools