NSValue(DingiCircleStyleLayerAdditions)
@interface NSValue (DingiCircleStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
DingiCircleStyleLayer
object and unwrapping its raw value.
-
Creates a new value object containing the given
DingiCirclePitchAlignment
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiCirclePitchAlignment: (DingiCirclePitchAlignment)circlePitchAlignment;
Swift
convenience init(dingiCirclePitchAlignment circlePitchAlignment: DingiCirclePitchAlignment)
Parameters
circlePitchAlignment
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiCirclePitchAlignment
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiCirclePitchAlignment DingiCirclePitchAlignmentValue;
Swift
var dingiCirclePitchAlignmentValue: DingiCirclePitchAlignment { get }
-
Creates a new value object containing the given
DingiCircleScaleAlignment
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiCircleScaleAlignment: (DingiCircleScaleAlignment)circleScaleAlignment;
Swift
convenience init(dingiCircleScaleAlignment circleScaleAlignment: DingiCircleScaleAlignment)
Parameters
circleScaleAlignment
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiCircleScaleAlignment
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiCircleScaleAlignment DingiCircleScaleAlignmentValue;
Swift
var dingiCircleScaleAlignmentValue: DingiCircleScaleAlignment { get }
-
Creates a new value object containing the given
DingiCircleTranslationAnchor
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiCircleTranslationAnchor: (DingiCircleTranslationAnchor)circleTranslationAnchor;
Swift
convenience init(dingiCircleTranslationAnchor circleTranslationAnchor: DingiCircleTranslationAnchor)
Parameters
circleTranslationAnchor
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiCircleTranslationAnchor
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiCircleTranslationAnchor DingiCircleTranslationAnchorValue;
Swift
var dingiCircleTranslationAnchorValue: DingiCircleTranslationAnchor { get }