SketchStyle allows the visual appearance of the SketchEditor to be configured. More...
| Header | #include <Sketch |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.12.
Public Functions
| Sketch | |
| virtual | ~ |
| Esri | feedback |
| Esri | feedback |
| Esri | feedback |
| Esri | fill |
| bool | is |
| Esri | line |
| Esri | mid |
| Esri | selected |
| Esri | selected |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| Esri | vertex |
| Esri | vertex |
Detailed Description
Member Function Documentation
SketchStyle::SketchStyle (QObject *parent = nullptr)
Constructs a SketchStyle with an optional parent object.
[override virtual] SketchStyle::~SketchStyle ()
Destructor.
Esri::ArcGISRuntime::Symbol *SketchStyle::feedbackFillSymbol () const
Returns the feedbackFillSymbol. Used to display feedback when editing polygon geometries. When interacting with a whole geometry, this will be displayed as a temporary symbol to aid with editing.
See also setFeedbackFillSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::feedbackLineSymbol () const
Returns the feedbackLineSymbol. Used to display feedback when editing line geometries. When interacting with a geometry edge, this will be displayed as a temporary symbol to aid with editing.
See also setFeedbackLineSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::feedbackVertexSymbol () const
Returns the feedbackVertexSymbol. Used to display feedback when editing point geometries. When interacting with geometry vertices, this will be displayed as a temporary symbol to aid with editing.
See also setFeedbackVertexSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::fillSymbol () const
Returns the fillSymbol for symbolizing a polygon geometry.
See also setFillSymbol().
bool SketchStyle::isShowNumbersForVertices () const
Returns the showNumbersForVertices. Indicates if every vertex in the sketch is labeled with a number.
Esri::ArcGISRuntime::Symbol *SketchStyle::lineSymbol () const
Returns the lineSymbol for symbolizing a line geometry.
See also setLineSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::midVertexSymbol () const
Returns the midVertexSymbol, which is the symbol that displays the middle point geometry between two vertices.
See also setMidVertexSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::selectedMidVertexSymbol () const
Returns the selectedMidVertexSymbol, which is the symbol that displays the selected middle vertex.
See also setSelectedMidVertexSymbol().
Esri::ArcGISRuntime::Symbol *SketchStyle::selectedVertexSymbol () const
Returns the selectedVertexSymbol, which is the symbol that displays the selected vertex.
See also setSelectedVertexSymbol().
void SketchStyle::setFeedbackFillSymbol (Esri::ArcGISRuntime::Symbol *feedbackFillSymbol )
Sets the feedbackFillSymbol to feedbackFillSymbol.
See also feedbackFillSymbol.
void SketchStyle::setFeedbackLineSymbol (Esri::ArcGISRuntime::Symbol *feedbackLineSymbol )
Sets the feedbackLineSymbol to feedbackLineSymbol.
See also feedbackLineSymbol.
void SketchStyle::setFeedbackVertexSymbol (Esri::ArcGISRuntime::Symbol *feedbackVertexSymbol )
Sets the feedbackVertexSymbol to feedbackVertexSymbol.
See also feedbackVertexSymbol.
void SketchStyle::setFillSymbol (Esri::ArcGISRuntime::Symbol *fillSymbol )
Sets the fillSymbol to fillSymbol.
See also fillSymbol.
void SketchStyle::setLineSymbol (Esri::ArcGISRuntime::Symbol *lineSymbol )
Sets the lineSymbol to lineSymbol.
See also lineSymbol.
void SketchStyle::setMidVertexSymbol (Esri::ArcGISRuntime::Symbol *midVertexSymbol )
Sets the midVertexSymbol to midVertexSymbol.
See also midVertexSymbol.
void SketchStyle::setSelectedMidVertexSymbol (Esri::ArcGISRuntime::Symbol *selectedMidVertexSymbol )
Sets the selectedMidVertexSymbol to selectedMidVertexSymbol.
See also selectedMidVertexSymbol.
void SketchStyle::setSelectedVertexSymbol (Esri::ArcGISRuntime::Symbol *selectedVertexSymbol )
Sets the selectedVertexSymbol to selectedVertexSymbol.
See also selectedVertexSymbol.
void SketchStyle::setShowNumbersForVertices (bool showNumbersForVertices )
Sets the showNumbersForVertices to showNumbersForVertices.
See also isShowNumbersForVertices.
void SketchStyle::setVertexSymbol (Esri::ArcGISRuntime::Symbol *vertexSymbol )
Sets the vertexSymbol to vertexSymbol.
See also vertexSymbol.
void SketchStyle::setVertexTextSymbol (Esri::ArcGISRuntime::TextSymbol *vertexTextSymbol )
Sets the vertexTextSymbol to vertexTextSymbol.
See also vertexTextSymbol.
Esri::ArcGISRuntime::Symbol *SketchStyle::vertexSymbol () const
Returns the vertexSymbol, which is the symbol that displays the vertices.
See also setVertexSymbol().
Esri::ArcGISRuntime::TextSymbol *SketchStyle::vertexTextSymbol () const
Returns the vertexTextSymbol, which is the symbol that displays the text over vertices when number labeling is enabled for vertices.
See also setVertexTextSymbol().