DK for Java | tatukgis.jdk.IGIS_Editor | Interfaces | Methods | Properties
Common API for interactive shape editing of shapes and shape parts.
// Java public abstract interface IGIS_Editor { };
// Oxygene type IGIS_Editor = public interface end;
| Name | Visibility | Description | |
|---|---|---|---|
| AddPoint | public | Adds a point to the end of the current part of the edited shape. | |
| AddPointEx | public | Adds a point to the end of the current part of the edited shape. | |
| AddSnapLayer | public | Adds a snap layer to the list. | |
| ChangeWinding | public | Changes the winding order of the current part. | |
| ClearSnapLayers | public | Clear the list of snap-to layers. | |
| CreatePart | public | Creates and activates editing for a new part in the current shape. | |
| CreateShape(TGIS_LayerAbstract, TGIS_Point, TGIS_ShapeType) | public | Creates a new shape and starts editing it. | |
| CreateShape(TGIS_LayerAbstract, TGIS_Point3D, TGIS_ShapeType) | public | Creates a new 3D shape and starts editing it. | |
| CreateShape(TGIS_LayerAbstract, TGIS_Point3D, TGIS_ShapeType, TGIS_DimensionType) | public | Creates a new shape and starts editing it with an explicit dimension. | |
| DeletePart | public | Deletes the current part from the edited shape. | |
| DeletePoint | public | Deletes a point from the current part of the edited shape. | |
| DeletePointEx | public | Deletes a point from the current part of the edited shape. | |
| DeleteShape | public | Deletes the currently edited shape and ends editing. | |
| EditShape | public | Starts editing the specified shape and part. | |
| EndEdit | public | End editing of the shape given by EditShape. | |
| FindSnapLayer | public | Finds a snap layer in the list. | |
| FindSnapPoint | public | Finds a snap point of the requested snap type from snap layers. | |
| InsertPoint | public | Inserts a point into the current part of the currently edited shape. | |
| InsertPointEx | public | Insert a point into the current part of the currently edited shape. | |
| MouseBegin | public | Start editing a point at the location given by | |
| MouseEnd | public | Ends point movement, deletion, or addition. | |
| MouseMove | public | Continues point movement, deletion, or addition. | |
| MovePoint | public | Moves a point of the current part of the currently edited shape to a new location. | |
| MovePointEx | public | Moves 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 | Removes a snap layer from the list. | |
| RevertShape | public | Revert currently edited shape to a saved version. | |
| SaveAll | public | Save all layers, including parameters and data. | |
| TryCreateShape(TGIS_LayerAbstract, TGIS_Point, TGIS_ShapeType, bool) | public | Tries to create a new shape and start editing it. | |
| TryCreateShape(TGIS_LayerAbstract, TGIS_Point3D, TGIS_ShapeType, bool) | public | Tries to create a new 3D shape and start editing it. | |
| TryCreateShape(TGIS_LayerAbstract, TGIS_Point3D, TGIS_ShapeType, TGIS_DimensionType, bool) | public | Tries to create a new shape and start editing it with an explicit dimension. | |
| TryEditShape | public | Tries to start editing the shape specified by | |
| TryEndEdit | public | Tries to end editing of the shape given by EditShape. | |
| Undo | public | Undo the last action. | |
| Name | Visibility | Description | |
|---|---|---|---|
| BlockSnapping | public | If True, block snapping operations during adding points. | |
| CanRedo | public | If True, redo buffer is not empty. | |
| CanUndo | public | If True, undo buffer is not empty. | |
| CurrentShape | public | Currently edited shape. | |
| EditingEdgeLengthsStyle | public | Style used to display edge lengths during editing. | |
| EditingLinesStyle | public | Style used to draw editing lines. | |
| EditingPointsStyle | public | Style used to draw editing points. | |
| 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 | Editing mode controlling how the _nearest parameter of MouseBegin behaves and therefore how interactive editing works in TGIS_ViewerWnd. | |
| MustRedraw | public | True if the editor should be redrawn. | |
| Part | public | Part index of the currently edited shape. | |
| Point | public | Access an individual point in the current 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 | Index of the currently edited point in the current part. | |
| SelectTolerance | public | Distance tolerance for selecting vertices. | |
| SelectTolerancePen | public | Distance tolerance for selecting vertices with a pen gesture. | |
| SelectToleranceTouch | public | Distance tolerance for selecting vertices with a touch gesture. | |
| ShowDraggingTrack | public | If True, show dragging track when moving a vertex to a new position. | |
| ShowEdgesLengths | public | If True, show edge lengths between consecutive vertices. | |
| ShowPoints3D | public | If True, show the Z coordinates for the vertices. | |
| ShowPointsNumbers | public | If True, show the vertex numbers. | |
| ShowTracking | public | If True, show tracking vertices from shapes in the snap layer. | |
| SnapGridSpacing | public | The spacing of the grid to which points will be snapped. | |
| SnapLayer | public | Layer containing geometry to which edited points are snapped. | |
| SnapMargin | public | The distance tolerance from the snap-to feature for a snap to occur. | |
| SnapToIntersection | public | If True, enable snapping to intersection points between shapes. | |
| SnapType | public | Snap type - how to snap to a vertex or segment. | |
| TopoEditingEnabled | public | Set to False to use the default editor behavior. | |
| Uid | public | Uid of the currently edited shape, or -1 if no shape is being edited. | |
| Viewer | public | Viewer on which editor has been created. | |
| ViewerEnabled | public | Set to True when editor mode is enabled in a TGIS_ViewerWnd. | |