A simple renderer uses a single Symbol to draw all features and graphics. More...
Public Functions Detailed DescriptionThe same symbol is used for all graphics in a graphics overlay and all features in a feature layer, regardless of their attribute values.
Example:
Apply a SimpleRenderer to a GraphicsOverlay:
auto* simpleMarker = new SimpleMarkerSymbol(SimpleMarkerSymbolStyle::Circle, QColor(Qt::blue), 16.0, this); auto* simpleRenderer = new SimpleRenderer(simpleMarker, this); auto* graphicsOverlay = new GraphicsOverlay(this); graphicsOverlay->setRenderer(simpleRenderer);
Relevant samples:
[explicit]
SimpleRenderer::SimpleRenderer(QObject *parent = nullptr)
Creates a new simple renderer without a Symbol.
[explicit]
SimpleRenderer::SimpleRenderer(Esri::ArcGISRuntime::Symbol *symbol, QObject *parent = nullptr)
Creates a new simple renderer with the given symbol.
[override virtual noexcept]
SimpleRenderer::~SimpleRenderer()
Destructor.
QString SimpleRenderer::description() constReturns the description for the renderer.
See also setDescription().
QString SimpleRenderer::label() constReturns the label for the renderer.
See also setLabel().
void SimpleRenderer::setDescription(const QString &description)Sets the description for the renderer.
See also description().
void SimpleRenderer::setLabel(const QString &label)Sets the label for the renderer.
See also label().
void SimpleRenderer::setSymbol(Esri::ArcGISRuntime::Symbol *symbol)Sets the symbol for the renderer.
This symbol will be applied to all graphics or features that are in the layer that this renderer is applied to.
See also symbol().
Esri::ArcGISRuntime::Symbol *SimpleRenderer::symbol() constReturns the symbol for the renderer.
See also setSymbol.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4