Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSBezierPathMBS class.
NSBezierPathMBS.bezierPath as NSBezierPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacBase Plugin | 12.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSBezierPathMBS.bezierPathWithOvalInRect(r as NSRectMBS) as NSBezierPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacBase Plugin | 12.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
r: The rectangle in which to inscribe an oval.
Returns an NSBezierPath new path object with the oval path.
If the rect parameter specifies a square, the inscribed path is a circle. The path is constructed by starting in the lower-right quadrant of the rectangle and adding arc segments counterclockwise to complete the oval.
NSBezierPathMBS.bezierPathWithRect(r as NSRectMBS) as NSBezierPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacBase Plugin | 12.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
r: The rectangle describing the path to create.
Returns a new path object with the rectangular path.
The path is constructed by starting at the origin of aRect and adding line segments in a counterclockwise direction.
NSBezierPathMBS.bezierPathWithRoundedRect(r as NSRectMBS, xRadius as Double, yRadius as Double) as NSBezierPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacBase Plugin | 12.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
r: The rectangle that defines the basic shape of the path.
xRadius: The radius of each corner oval along the x-axis. Values larger than half the rectangle's width are clamped to half the width.
yRadius: The radius of each corner oval along the y-axis. Values larger than half the rectangle's height are clamped to half the height.
Returns a new path object with the rounded rectangular path.
The path is constructed in a counter-clockwise direction, starting at the top-left corner of the rectangle. If either one of the radius parameters contains the value 0.0, the returned path is a plain rectangle without rounded corners.
The items on this page are in the following plugins: MBS MacBase Plugin.