NSValue(DingiLineStyleLayerAdditions)
@interface NSValue (DingiLineStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
DingiLineStyleLayer object and unwrapping its raw value.
-
Creates a new value object containing the given
DingiLineCapenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiLineCap:(DingiLineCap)lineCap;Swift
convenience init(dingiLineCap lineCap: DingiLineCap)Parameters
lineCapThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiLineCapenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiLineCap DingiLineCapValue;Swift
var dingiLineCapValue: DingiLineCap { get } -
Creates a new value object containing the given
DingiLineJoinenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiLineJoin:(DingiLineJoin)lineJoin;Swift
convenience init(dingiLineJoin lineJoin: DingiLineJoin)Parameters
lineJoinThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiLineJoinenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiLineJoin DingiLineJoinValue;Swift
var dingiLineJoinValue: DingiLineJoin { get } -
Creates a new value object containing the given
DingiLineTranslationAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiLineTranslationAnchor: (DingiLineTranslationAnchor)lineTranslationAnchor;Swift
convenience init(dingiLineTranslationAnchor lineTranslationAnchor: DingiLineTranslationAnchor)Parameters
lineTranslationAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiLineTranslationAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiLineTranslationAnchor DingiLineTranslationAnchorValue;Swift
var dingiLineTranslationAnchorValue: DingiLineTranslationAnchor { get }
NSValue(DingiLineStyleLayerAdditions) Category Reference