Instance Method

set()

Sets the color of subsequent drawing to the color that the receiver represents.

Declaration

func set()

Discussion

This method should be implemented in subclasses.

See Also

Drawing

func drawSwatch(in: NSRect)

Draws the current color in the given rectangle.

func setFill()

Sets the fill color of subsequent drawing to the receiver’s color.

func setStroke()

Sets the stroke color of subsequent drawing to the receiver’s color.