Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSBezierPathMBS class.

NSBezierPathMBS.Bounds as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Drawing MBS MacBase Plugin 12.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the bounding box of the receiver's path.
Example
dim r as new NSRectMBS(10, 10, 50, 50)
dim b as NSBezierPathMBS = NSBezierPathMBS.bezierPathWithRect(r)
dim rr as NSRectMBS = b.Bounds
MsgBox rr.String

The rectangle that encloses the path of the receiver. If the path contains curve segments, the bounding box encloses the curve but may not enclose the control points used to calculate the curve.
(Read only property)

NSBezierPathMBS.ControlPointBounds as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Drawing MBS MacBase Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the bounding box of the receiver's path, including any control points.

The rectangle that encloses the receiver's path. If the path contains curve segments, the bounding box encloses the control points of the curves as well as the curves themselves.
(Read only property)

NSBezierPathMBS.CurrentPoint as NSPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Drawing MBS MacBase Plugin 12.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the receiver's current point (the trailing point or ending point in the most recently added segment).
Example
dim b as NSBezierPathMBS = NSBezierPathMBS.bezierPath
b.moveToPoint NSMakePointMBS(10,10)

MsgBox b.CurrentPoint.String

The point from which the next drawn line or curve segment begins.
If the receiver is empty, this method raises NSGenericException.
(Read only property)

NSBezierPathMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Drawing MBS MacBase Plugin 12.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...