NSValue(DingiFillStyleLayerAdditions)
@interface NSValue (DingiFillStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
DingiFillStyleLayer
object and unwrapping its raw value.
-
Creates a new value object containing the given
DingiFillTranslationAnchor
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiFillTranslationAnchor: (DingiFillTranslationAnchor)fillTranslationAnchor;
Swift
convenience init(dingiFillTranslationAnchor fillTranslationAnchor: DingiFillTranslationAnchor)
Parameters
fillTranslationAnchor
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiFillTranslationAnchor
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiFillTranslationAnchor DingiFillTranslationAnchorValue;
Swift
var dingiFillTranslationAnchorValue: DingiFillTranslationAnchor { get }