Instance Method

setStroke()

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

Declaration

func setStroke()

Discussion

This method should be implemented in subclasses.

See Also

Drawing

func drawSwatch(in: NSRect)

Draws the current color in the given rectangle.

func set()

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

func setFill()

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