Instance Method

setStroke()

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

Declaration

func setStroke()

Discussion

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

See Also

Setting the Graphics Context’s Drawing Color

func set()

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

func setFill()

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