MonobjcMonobjc Documented Class Library
DrawInBezierPathAngle Method (path, angle)
NamespacesMonobjc.AppKitNSGradientDrawInBezierPathAngle(NSBezierPath, CGFloat)

Fills the specified path with a linear gradient.

Original signature is '- (void)drawInBezierPath:(NSBezierPath *)path angle:(CGFloat)angle'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawInBezierPathAngle(
	NSBezierPath path,
	CGFloat angle
)
Public Overridable Sub DrawInBezierPathAngle ( _
	path As NSBezierPath, _
	angle As CGFloat _
)
public:
virtual void DrawInBezierPathAngle(
	NSBezierPath^ path, 
	CGFloat angle
)
Parameters
path (NSBezierPath)
The path object to fill.
angle (CGFloat)
The angle of the linear gradient, specified in degrees. Positive values indicate rotation in the counter-clockwise direction relative to the horizontal axis.
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)