NSValue(DingiSymbolStyleLayerAdditions)
@interface NSValue (DingiSymbolStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
DingiSymbolStyleLayer object and unwrapping its raw value.
-
Creates a new value object containing the given
DingiIconAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiIconAnchor:(DingiIconAnchor)iconAnchor;Swift
convenience init(dingiIconAnchor iconAnchor: DingiIconAnchor)Parameters
iconAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiIconAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiIconAnchor DingiIconAnchorValue;Swift
var dingiIconAnchorValue: DingiIconAnchor { get } -
Creates a new value object containing the given
DingiIconPitchAlignmentenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiIconPitchAlignment: (DingiIconPitchAlignment)iconPitchAlignment;Swift
convenience init(dingiIconPitchAlignment iconPitchAlignment: DingiIconPitchAlignment)Parameters
iconPitchAlignmentThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiIconPitchAlignmentenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiIconPitchAlignment DingiIconPitchAlignmentValue;Swift
var dingiIconPitchAlignmentValue: DingiIconPitchAlignment { get } -
Creates a new value object containing the given
DingiIconRotationAlignmentenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiIconRotationAlignment: (DingiIconRotationAlignment)iconRotationAlignment;Swift
convenience init(dingiIconRotationAlignment iconRotationAlignment: DingiIconRotationAlignment)Parameters
iconRotationAlignmentThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiIconRotationAlignmentenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiIconRotationAlignment DingiIconRotationAlignmentValue;Swift
var dingiIconRotationAlignmentValue: DingiIconRotationAlignment { get } -
Creates a new value object containing the given
DingiIconTextFitenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiIconTextFit:(DingiIconTextFit)iconTextFit;Swift
convenience init(dingiIconTextFit iconTextFit: DingiIconTextFit)Parameters
iconTextFitThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiIconTextFitenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiIconTextFit DingiIconTextFitValue;Swift
var dingiIconTextFitValue: DingiIconTextFit { get } -
Creates a new value object containing the given
DingiSymbolPlacementenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiSymbolPlacement: (DingiSymbolPlacement)symbolPlacement;Swift
convenience init(dingiSymbolPlacement symbolPlacement: DingiSymbolPlacement)Parameters
symbolPlacementThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiSymbolPlacementenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiSymbolPlacement DingiSymbolPlacementValue;Swift
var dingiSymbolPlacementValue: DingiSymbolPlacement { get } -
Creates a new value object containing the given
DingiSymbolZOrderenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiSymbolZOrder: (DingiSymbolZOrder)symbolZOrder;Swift
convenience init(dingiSymbolZOrder symbolZOrder: DingiSymbolZOrder)Parameters
symbolZOrderThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiSymbolZOrderenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiSymbolZOrder DingiSymbolZOrderValue;Swift
var dingiSymbolZOrderValue: DingiSymbolZOrder { get } -
Creates a new value object containing the given
DingiTextAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextAnchor:(DingiTextAnchor)textAnchor;Swift
convenience init(dingiTextAnchor textAnchor: DingiTextAnchor)Parameters
textAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextAnchor DingiTextAnchorValue;Swift
var dingiTextAnchorValue: DingiTextAnchor { get } -
Creates a new value object containing the given
DingiTextJustificationenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextJustification: (DingiTextJustification)textJustification;Swift
convenience init(dingiTextJustification textJustification: DingiTextJustification)Parameters
textJustificationThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextJustificationenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextJustification DingiTextJustificationValue;Swift
var dingiTextJustificationValue: DingiTextJustification { get } -
Creates a new value object containing the given
DingiTextPitchAlignmentenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextPitchAlignment: (DingiTextPitchAlignment)textPitchAlignment;Swift
convenience init(dingiTextPitchAlignment textPitchAlignment: DingiTextPitchAlignment)Parameters
textPitchAlignmentThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextPitchAlignmentenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextPitchAlignment DingiTextPitchAlignmentValue;Swift
var dingiTextPitchAlignmentValue: DingiTextPitchAlignment { get } -
Creates a new value object containing the given
DingiTextRotationAlignmentenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextRotationAlignment: (DingiTextRotationAlignment)textRotationAlignment;Swift
convenience init(dingiTextRotationAlignment textRotationAlignment: DingiTextRotationAlignment)Parameters
textRotationAlignmentThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextRotationAlignmentenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextRotationAlignment DingiTextRotationAlignmentValue;Swift
var dingiTextRotationAlignmentValue: DingiTextRotationAlignment { get } -
Creates a new value object containing the given
DingiTextTransformenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextTransform: (DingiTextTransform)textTransform;Swift
convenience init(dingiTextTransform textTransform: DingiTextTransform)Parameters
textTransformThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextTransformenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextTransform DingiTextTransformValue;Swift
var dingiTextTransformValue: DingiTextTransform { get } -
Creates a new value object containing the given
DingiIconTranslationAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiIconTranslationAnchor: (DingiIconTranslationAnchor)iconTranslationAnchor;Swift
convenience init(dingiIconTranslationAnchor iconTranslationAnchor: DingiIconTranslationAnchor)Parameters
iconTranslationAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiIconTranslationAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiIconTranslationAnchor DingiIconTranslationAnchorValue;Swift
var dingiIconTranslationAnchorValue: DingiIconTranslationAnchor { get } -
Creates a new value object containing the given
DingiTextTranslationAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiTextTranslationAnchor: (DingiTextTranslationAnchor)textTranslationAnchor;Swift
convenience init(dingiTextTranslationAnchor textTranslationAnchor: DingiTextTranslationAnchor)Parameters
textTranslationAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiTextTranslationAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiTextTranslationAnchor DingiTextTranslationAnchorValue;Swift
var dingiTextTranslationAnchorValue: DingiTextTranslationAnchor { get }
NSValue(DingiSymbolStyleLayerAdditions) Category Reference