ArcGIS Runtime SDK for iOS
100.15
|
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).
Instance Methods | |
(instancetype) | - initWithArcadeExpression: |
(instancetype) | - initWithArcadeExpression:rotationType: |
(nullable id) | - toJSON: |
Class Methods | |
(nullable id< AGSJSONSerializable >) | + fromJSON:error: |
(instancetype) | + labelAngleWithArcadeExpression: |
(instancetype) | + labelAngleWithArcadeExpression:rotationType: |
Properties | |
AGSArcadeExpression * | angleExpression |
AGSLabelAngleRotationType | rotationType |
NSDictionary< NSString *, id > * | unknownJSON |
NSDictionary< NSString *, id > * | unsupportedJSON |
|
staticrequiredinherited |
Initializes and returns an object from its JSON representation.
JSONObject | NSDictionary or NSArray containing the JSON. |
error | encountered during the operation, if any. |
- (instancetype) initWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression |
Creates an AGSLabelAngle
object with the specified AGSArcadeExpression
object . The AGSLabelAngle::rotationType
property will be defaulted to AGSLabelAngleRotationTypeAutomatic
.
arcadeExpression | The arcade expression script. |
- (instancetype) initWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression | |
rotationType: | (AGSLabelAngleRotationType) | rotationType | |
Creates an AGSLabelAngle
object with the specified AGSArcadeExpression
and AGSLabelAngleRotationType
.
arcadeExpression | The arcade expression script. |
rotationType | Whether the angle should be interpreted as arithmetic or geographic. |
+ (instancetype) labelAngleWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression |
Creates an AGSLabelAngle
object with the specified AGSArcadeExpression
object. The AGSLabelAngle::rotationType
will be defaulted to AGSLabelAngleRotationTypeAutomatic
.
arcadeExpression | The arcade expression script. |
+ (instancetype) labelAngleWithArcadeExpression: | (AGSArcadeExpression *) | arcadeExpression | |
rotationType: | (AGSLabelAngleRotationType) | rotationType | |
Creates an AGSLabelAngle
object with the specified AGSArcadeExpression
and AGSLabelAngleRotationType
.
arcadeExpression | The arcade expression script. |
rotationType | Whether the angle should be interpreted as arithmetic or geographic. |
|
requiredinherited |
Returns JSON representation for this object.
error | encountered during the operation, if any. |
NSDictionary
or NSArray
containing the JSON. Reimplemented in AGSPortalItem.
|
readwritenonatomicstrong |
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 AGSArcadeExpression
property containing an empty expression string, which will produce a zero angle when evaluated.
|
readwritenonatomicassign |
Whether the angle should be interpreted as arithmetic or geographic. The default value is AGSLabelAngleRotationTypeAutomatic
(which will be interpreted as AGSLabelAngleRotationTypeArithmetic
).
|
readrequirednonatomiccopyinherited |
A dictionary of values that was in the source JSON but was unparsed by API.
NSDictionary
containing the unknown JSON.
|
readnonatomiccopyinherited |
A dictionary of values that are supported by the REST API, but not exposed through the SDK API.
NSDictionary
containing the unsupported JSON.