Creates and returns a new NSBezierPath object initialized with a rounded rectangular path.
Original signature is '+ (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSBezierPath BezierPathWithRoundedRectXRadiusYRadius( NSRect rect, CGFloat xRadius, CGFloat yRadius )
Public Shared Function BezierPathWithRoundedRectXRadiusYRadius ( _ rect As NSRect, _ xRadius As CGFloat, _ yRadius As CGFloat _ ) As NSBezierPath
public: static NSBezierPath^ BezierPathWithRoundedRectXRadiusYRadius( NSRect rect, CGFloat xRadius, CGFloat yRadius )
Parameters
- rect (NSRect)
- The rectangle that defines the basic shape of the path.
- xRadius (CGFloat)
- 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 (CGFloat)
- The radius of each corner oval along the y-axis. Values larger than half the rectangle’s height are clamped to half the height.
Return Value
A new path object with the rounded rectangular path.
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)