Declaration

func setCurrentDrawingAttribute(
    _ attr: Any?,
    forKey key: String
)

Declaration

- (void) setCurrentDrawingAttribute:(id) attr
                             forKey:(NSString *) key;

Declaration

setCurrentDrawingAttribute_forKey_(
    attr: object,
    key: str
)

Parameters

attr

The attribute value, or nil to remove the attribute.

key

The shape attribute key.

See Also

Drawing State