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-labelangle.html below:

LabelAngle Class | ArcGIS Maps SDK for Qt

Specifies how to calculate the angular position and layout direction for labels on or around point feature symbols. More...

Member Function Documentation [explicit] LabelAngle::LabelAngle(Esri::ArcGISRuntime::ArcadeExpression *arcadeExpression, QObject *parent = nullptr)

Creates a LabelAngle with the specified ArcadeExpression.

The rotationType will be defaulted to LabelAngleRotationType::Automatic.

LabelAngle::LabelAngle(Esri::ArcGISRuntime::ArcadeExpression *arcadeExpression, Esri::ArcGISRuntime::LabelAngleRotationType rotationType, QObject *parent = nullptr)

Creates a LabelAngle with the specified ArcadeExpression and LabelAngleRotationType.

[override virtual noexcept] LabelAngle::~LabelAngle()

Destructor.

Esri::ArcGISRuntime::ArcadeExpression *LabelAngle::angleExpression() const

Specifies and returns how the angle (in degrees) is calculated from the feature attributes, using an Arcade expression.

The calculation may use attributes, fixed numbers, or a combination of both. The default value is an ArcadeExpression containing an empty expression string, which will produce a zero angle when evaluated.

Note: If the expression attempts to use attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which will be interpreted as a zero angle.

See also setAngleExpression().

[since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::LabelAngle *LabelAngle::clone(QObject *parent = nullptr) const

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

Returns a new instance of the current LabelAngle.

This function was introduced in Esri::ArcGISRuntime 200.1.

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

Creates a new LabelAngle from json string with an optional parent.

See also JsonSerializable.

Esri::ArcGISRuntime::LabelAngleRotationType LabelAngle::rotationType() const

Returns the rotation type angle (arithmetic or geographic).

The default value is LabelAngleRotationType::Automatic (which will be interpreted as LabelAngleRotationType::Arithmetic).

See also setRotationType().

void LabelAngle::setAngleExpression(Esri::ArcGISRuntime::ArcadeExpression *angleExpression)

Sets the angleExpression to angleExpression.

See also angleExpression.

void LabelAngle::setRotationType(Esri::ArcGISRuntime::LabelAngleRotationType rotationType)

Sets the rotationType to rotationType.

See also rotationType.

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

Reimplements: JsonSerializable::toJson() const.

Gets the JSON string representation of this object.

See also JsonSerializable.


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