Instance Method
setCurrentDrawingAttribute(_:forKey:) setCurrentDrawingAttribute:forKey: setCurrentDrawingAttribute_forKey_
Sets or removes an attribute applied to newly drawn shapes.
Declaration
func setCurrentDrawingAttribute(_ attr: Any?, forKey key: String)Declaration
- (void) setCurrentDrawingAttribute:(id) attr forKey:(NSString *) key;Declaration
setCurrentDrawingAttribute_forKey_(attr: object, key: str)Parameters
attrThe attribute value, or
nilto remove the attribute.keyThe shape attribute key.
See Also
Drawing State
Auxiliary outlines generated by the most recent full Bézier path preparation.
Interactive handles generated by the most recent full Bézier path preparation.
The shape attributes applied to newly drawn shapes.
Adds shape attributes applied to newly drawn shapes.
Prepares path component hints for direct pen drawing.
Finishes direct pen drawing prepared by prepareDrawing()prepareDrawingprepareDrawing.