LabelAngle QML Type

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

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.11
    Inherits:

    Object

    Properties

    Signals

    Methods

    Detailed Description

    The angular position may be different for each feature (driven by one or more feature attributes) or constant for all features (specified by a fixed number).

    This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

    TypeDefault Property
    ArcadeExpressionangleExpression

    See also JsonSerializable.

    Property Documentation

    [default] angleExpression : ArcadeExpression

    Specifies 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.


    json : jsobject

    JSON data that can be used to instantiate the LabelAngle.


    rotationType : Enums.LabelAngleRotationType

    Whether the angle should be interpreted as arithmetic or geographic.

    The default value is Enums.LabelAngleRotationTypeAutomatic (which will be interpreted as Enums.LabelAngleRotationTypeArithmetic).


    Signal Documentation

    angleExpressionChanged()

    Emitted when the angleExpression property changes.

    Note: The corresponding handler is onAngleExpressionChanged.


    rotationTypeChanged()

    Emitted when the rotationType property changes.

    Note: The corresponding handler is onRotationTypeChanged.


    Method Documentation

    [since Esri.ArcGISRuntime 200.1] LabelAngle clone()

    Clones the LabelAngle.

    This method was introduced in Esri.ArcGISRuntime 200.1.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.