Instance Method

set

Sets the color of subsequent stroke and fill operations to the color that the receiver represents.

Declaration

- (void)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.

See Also

Applying the Color to the Drawing Environment

- setFill

Sets the color of subsequent fill operations to the color that the receiver represents.

- setStroke

Sets the color of subsequent stroke operations to the color that the receiver represents.