LabelAngle class final
Specifies how to calculate the angular position and layout direction for labels on or around point feature symbols.
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).
- Implemented types
- Mixed-in types
Constructors
- LabelAngle({required ArcadeExpression arcadeExpression, LabelAngleRotationType rotationType = LabelAngleRotationType.automatic})
-
Creates a LabelAngle with the specified ArcadeExpression and
LabelAngleRotationType.
factory
-
LabelAngle.fromJson(Map<
String, dynamic> json) -
Creates an instance of this class from JSON of the data type used by
jsonDecode.
factory
- LabelAngle.fromJsonString(String jsonString)
-
Creates an instance of this class from a JSON String.
factory
Properties
- angleExpression ↔ ArcadeExpression
-
Specifies how the angle (in degrees) is calculated from the feature
attributes, using an Arcade expression.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationType ↔ LabelAngleRotationType
-
Whether the angle should be interpreted as arithmetic or geographic.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → LabelAngle - Clones the LabelAngle.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited