Click or drag to resize

SketchEditor Methods

The SketchEditor type exposes the following members.

Methods
  NameDescription
Public methodClearGeometry
Clears the current geometry.
Public methodClearVertexSelection
Clears selection on vertices.
Public methodInsertVertexAfterSelectedVertex
Returns a value indicating whether a new vertex with the specified location has been inserted after selected vertex.
Public methodMoveSelectedVertex
Returns a value indicating whether the selected vertex has been moved to the specified new location.
Public methodRemoveSelectedVertex
Returns a value indicating whether the selected vertex has been removed.
Public methodReplaceGeometry
Replaces current geometry with specified geometry.
Public methodSelectMidVertex
Selects mid-vertex with specified indices
Public methodSelectVertex
Selects vertex with specified indices
Public methodCode exampleStartAsync(Geometry)
Starts to edit Geometry based on the SketchEditConfiguration that the geometry supports.
Public methodStartAsync(Geometry, SketchCreationMode)
Starts to edit Geometry based on specified SketchCreationMode with the SketchEditConfiguration that the geometry supports.
Public methodStartAsync(SketchCreationMode, SketchEditConfiguration)
Starts to draw geometry based on specified SketchCreationMode and proceeds to edit geometry with the specified SketchEditConfiguration.
Public methodCode exampleStartAsync(SketchCreationMode, Boolean)
Starts to draw geometry based on specified SketchCreationMode and proceeds to edit geometry with the SketchEditConfiguration that the geometry supports; unless, optional drawAndEdit parameter is false, then sketch is complete once geometry is drawn.
Public methodStartAsync(Geometry, SketchCreationMode, SketchEditConfiguration)
Starts to edit Geometry based on specified SketchCreationMode and SketchEditConfiguration.
Public methodStop
Stops the current sketch, which means Geometry is cleared along with its undo stack. There is no further updates by interaction nor programmatic methods that can update geometry.
Top
See Also