Strokes a line between two points using the current stroke color and the default drawing attributes.
Original signature is '+ (void)strokeLineFromPoint:(NSPoint)point1 toPoint:(NSPoint)point2'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public static void StrokeLineFromPointToPoint(
NSPoint point1,
NSPoint point2
)
Public Shared Sub StrokeLineFromPointToPoint ( _
point1 As NSPoint, _
point2 As NSPoint _
)
public:
static void StrokeLineFromPointToPoint(
NSPoint point1,
NSPoint point2
)
Parameters
- point1 (NSPoint)
- The starting point of the line.
- point2 (NSPoint)
- The ending point of the line.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.AppKit (Module: Monobjc.AppKit)