set()
Sets the color of subsequent stroke and fill operations to the color that the receiver represents.
Declaration
func set()Discussion
If you subclass UIColor, you must implement this method in your subclass. Your custom implementation should modify both the stroke and fill color in the current graphics context by setting them both to the color represented by the receiver.