User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_editor

ITGIS_Editor interface

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Editor | Interfaces | Methods | Properties

Editor encapsulation.

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

Syntax

// C#
public interface ITGIS_Editor: ITBaseObject
{
}
' VisualBasic
Public Interface ITGIS_Editor
  Implements ITBaseObject
End Class
// Oxygene
type
  ITGIS_Editor = public interface( ITBaseObject )
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AddPoint public Add a new point.
AddPointEx public Add a new point for a group.
AddSnapLayer public Add a snap-to layer to the list.
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
ChangeWinding public Change winding of the current part.
ClearSnapLayers public Clear the list of snap-to layers.
CreatePart public Create and activate the editing procedure for a new part for the current shape.
CreateShape public Create and activate editing of a new shape.
CreateShape_2 public Create and activate editing of a new shape.
CreateShape_3 public Create and activate editing of a new shape.
Create_ public Create an instance of editor inside TGIS_Viewer.
DeletePart public Delete current part from shape.
DeletePoint public Delete a point from the current part of the currently edited shape.
DeleteShape public Delete currently edited shape and end editing.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
EditShape public Starts editing of a shape given by _shp.
EndEdit public End editing of the shape given by EditShape.
FindSnapLayer public Find a snap layer on the list.
FindSnapPoint public Find a snap point based on a snap type from snap-to layers.
InsertPoint public Insert a point to the current part of the currently edited shape.
MouseBegin public Start the editing of a point at the location given by _pt.
MouseEnd public End of point movement, deletion, or addition.
MouseMove public Continuing of point movement, deletion, or addition.
MovePoint public Move a point of the current part of the currently edited shape to a new location.
Redo public Redo the previous action.
RefreshShape public Store the editing buffer back into the shape.
RemoveSnapLayer public Remove a snap layer from the list.
RevertShape public Revert currently edited shape to a saved version.
Undo public Undo the last action.

Properties

Inherited Protected
Name Visibility Description
CanRedo public If True, redo buffer is not empty.
CanUndo public If True, undo buffer is not empty.
CurrentShape public Currently edited shape.
EditingLinesStyle public Editing lines style.
EditingPointsStyle public Editing points style.
EditorMode public Determines how new vertices are created relative to existing vertices.
InEdit public If True, editing is active.
Layer public Layer that holds the shape being currently edited.
MinMove public Minimal mouse movement to perform a change.
Mode public Mode of edition.
MustRedraw public True if editor should be redraw.
Part public Part number of currently edited shape.
Point public Access to individual points in a part.
PointCount public Number of points in the current part of the currently edited shape.
PointerMode public Pointer mode ( mouse, touch or pen ).
PointPos public Position of the currently edited point.
SelectTolerance public Distance tolerance of vertices selection.
SelectTolerancePen public Distance tolerance of vertices selection upon pen gesture.
SelectToleranceTouch public Distance tolerance of vertices selection upon touch gesture.
ShowDraggingTrack public Show dragging track upon point move.
ShowPoints3D public
ShowPointsNumbers public
ShowTracking public
SnapGridSpacing public
SnapLayer public Layer containing geometry to which edited points will be snapped.
SnapMargin public
SnapToIntersection public
SnapType public
Uid public Uid of currently edited shape or -1.
Viewer public Viewer on which editor has been created.
ViewerEnabled public

Remarks

This class is closely connected to TGIS_Viewer, so never construct it independently.

The basic editing functionality includes the moving of points, moving vector vertices, creating new vector points, line, and polygons, deleting vector points and vertices, snapping, with mouse clicks.

Various objects were declared in Pointer manner to avoid circular references.

2021/03/12 19:09

Page Tools