ProgrammaticReticleTool class final
Allows you to edit geometries in a GeometryEditor using a GeometryEditorReticle, ideal for precise editing with snapping on a touch screen with a fully customizable user experience.
The ProgrammaticReticleTool provides precise, vertex-based geometry editing on touch devices using the GeometryEditor with a fully customizable user experience. Unlike the ReticleVertexTool, the ProgrammaticReticleTool has no ReticleInteractionConfiguration to define the effect of tap interactions. Tap interactions have no effect and are not handled by this tool. Instead, the programmatic methods can be called when required to give granular control for custom workflows such as those using buttons or other triggers. To provide the ability to programmatically move, resize, and rotate whole geometries, or parts of multipart geometries, you can use the programmatic calls on the GeometryEditor such as GeometryEditor.rotateSelectedElement, GeometryEditor.moveSelectedElementWithDelta and GeometryEditor.scaleSelectedElement.
- Inheritance
-
- Object
- GeometryEditorTool
- ReticleTool
- ProgrammaticReticleTool
Constructors
- ProgrammaticReticleTool.new()
-
Create a new ProgrammaticReticleTool.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- reticle ↔ GeometryEditorReticle
-
Specifies the reticle visual component to be used by the
ReticleVertexTool.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ GeometryEditorStyle
-
Defines the visual appearance of GeometryEditor geometries when this
tool is in use.
getter/setter pairinherited
- vertexCreationPreviewEnabled ↔ bool
-
True if the vertex feedback under reticle and snap feedback is visible
when creating a new vertex, false otherwise.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickUpSelectedElement(
) → void - Picks up the currently selected element if the element is a GeometryEditorVertex or GeometryEditorMidVertex.
-
placeElementAtReticle(
) → void - Inserts a new GeometryEditorVertex or drops the currently picked up element at the position of the reticle.
-
selectElementAtReticle(
) → bool - Selects an element at the current position of the reticle.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited