Instance Method

setFill()

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

Declaration

func setFill()

Discussion

If you subclass UIColor, you must implement this method in your subclass. Your custom implementation should modify the fill color in the current graphics context by setting it to the color represented by the receiver.

See Also

Applying the Color to the Drawing Environment

func set()

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

func setStroke()

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software