Contents

stroke(_:)

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes.

Declaration

class func stroke(_ rect: NSRect)

Parameters

  • rect:

    A rectangle in the current coordinate system.

Discussion

The path is drawn beginning at the rectangle’s origin and proceeding in a counterclockwise direction. This method strokes the specified path immediately.

See Also

Related Documentation

Drawing a Path