strokeLine(from:to:)
Strokes a line between two points using the current stroke color and the default drawing attributes.
Declaration
class func strokeLine(from point1: NSPoint, to point2: NSPoint)Parameters
- point1:
The starting point of the line.
- point2:
The ending point of the line.
Discussion
This method strokes the specified path immediately.