A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-renderer.html below:

Renderer Class | ArcGIS Maps SDK for Qt

A base class for renderers that use a collection of one or more symbols to display features in a Layer or graphics in a GraphicsOverlay. More...

Member Function Documentation [override virtual noexcept] Renderer::~Renderer()

Destructor.

Esri::ArcGISRuntime::Renderer *Renderer::clone(QObject *parent = nullptr) const

Clones the renderer to a new instance with an optional parent.

Returns a new instance of the current renderer.

[static] Esri::ArcGISRuntime::Renderer *Renderer::fromJson(const QString &json, QObject *parent = nullptr)

Creates and returns a new renderer from the provided json, with an optional parent.

See also JsonSerializable.

Esri::ArcGISRuntime::RendererType Renderer::rendererType() const

Returns the renderer type.

QString Renderer::rotationExpression() const

Returns the expression describing how attributes values are translated into a rotation to be applied to the GeoElement.

When an attribute name is specified in the rotation expression, it is enclosed in square brackets, for example: [Rotation].

See also setRotationExpression.

Esri::ArcGISRuntime::RotationType Renderer::rotationType() const

Returns a bool that determines whether the rotation calculated from the rotationExpression is interpreted as arithmetic or geographic.

The options are:

RotationType::Arithmetic if an error occurs.

See also setRotationType.

Esri::ArcGISRuntime::RendererSceneProperties Renderer::sceneProperties() const

Returns the scene view properties for the renderer.

This can be used to make changes to how a GeoElement is displayed in a SceneView.

See also setSceneProperties().

void Renderer::setRotationExpression(const QString &expression)

Sets the rotationExpression to expression.

See also rotationExpression.

void Renderer::setRotationType(Esri::ArcGISRuntime::RotationType type)

Sets the rotationType to type.

See also rotationType.

void Renderer::setSceneProperties(const Esri::ArcGISRuntime::RendererSceneProperties &sceneProperties)

Sets the sceneProperties to sceneProperties.

See also sceneProperties.

[since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::DynamicEntity *dynamicEntity) const

Returns the symbol that is used to visualize the given dynamic entity.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 200.1.

[since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::DynamicEntityObservation *dynamicEntityObservation) const

Returns the symbol that is used to visualize the given dynamic entity observation.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 200.1.

Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::Feature *feature) const

Returns the symbol that is used to visualize the given feature.

If the renderer is a DictionaryRenderer and it's associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::Graphic *graphic) const

Returns the symbol that is used to visualize the given graphic.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

[since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::DynamicEntity *dynamicEntity, bool applyAttributeOverrides) const

Returns the symbol that is used to visualize the given dynamic entity with override attributes from the renderer.

If applyAttributeOverrides is set to true, this method will get the symbol from the renderer and override the symbol properties with the overrides available on the renderer. These include visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to either the renderer or dynamic entity (such as "scale"), that override will not be applied. If the override attributes are applied successfully, a symbol with overridden properties will be returned else the original symbol will be returned.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 200.1.

[since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::DynamicEntityObservation *dynamicEntityObservation, bool applyAttributeOverrides) const

Returns the symbol that is used to visualize the given dynamic entity observation with override attributes from the renderer.

If applyAttributeOverrides is set to true, this method will get the symbol from the renderer and override the symbol properties with the overrides available on the renderer. These include visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to either the renderer or observation (such as "scale"), that override will not be applied. If the override attributes are applied successfully, a symbol with overridden properties will be returned else the original symbol will be returned.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 200.1.

[since Esri::ArcGISRuntime 100.5] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::Feature *feature, bool applyAttributeOverrides) const

Returns the symbol that is used to visualize the given feature with override attributes from the renderer.

If applyAttributeOverrides is set to true, this method will get the symbol from the renderer and override the symbol properties with the overrides available on the renderer. These include visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to either the renderer or observation (such as "scale"), that override will not be applied. If the override attributes are applied successfully, a symbol with overridden properties will be returned otherwise the original symbol will be returned.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 100.5.

[since Esri::ArcGISRuntime 100.5] Esri::ArcGISRuntime::Symbol *Renderer::symbol(Esri::ArcGISRuntime::Graphic *graphic, bool applyAttributeOverrides) const

Returns the symbol that is used to visualize the given graphic with override attributes from the renderer.

If applyAttributeOverrides is set to true, this method will get the symbol from the renderer and override the symbol properties with the overrides available on the renderer. These include visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to either the renderer or observation (such as "scale"), that override will not be applied. If the override attributes are applied successfully, a symbol with overridden properties will be returned otherwise the original symbol will be returned.

If the renderer is a DictionaryRenderer and its associated DictionarySymbolStyle references a style file hosted on ArcGIS Online or an ArcGIS Enterprise portal (also referred to as a web style), this method returns nullptr. If the layer has rendered and the symbol is already drawn on the view, this method returns a valid MultilayerSymbol. If you want to get the symbol before the layer is rendered, use DictionarySymbolStyle::fetchSymbolAsync(const QVariantMap&, QObject*).

This function was introduced in Esri::ArcGISRuntime 100.5.

[override virtual] QString Renderer::toJson() const

Reimplements: JsonSerializable::toJson() const.

Returns this renderer as a JSON representation.

See also JsonSerializable.

[virtual, since Esri::ArcGISRuntime 200.2] bool Renderer::operator!=(const Esri::ArcGISRuntime::Renderer *other) const

Inequality operator. Returns true if this object and other are not equal.

This function was introduced in Esri::ArcGISRuntime 200.2.

See also Renderer::operator==.

[virtual] bool Renderer::operator==(const Esri::ArcGISRuntime::Renderer *other) const

Returns a bool that tests if this object is equal to a second Renderer object.


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