MonobjcMonobjc Documented Class Library
DrawInBezierPathRelativeCenterPosition Method (path, relativeCenterPosition)
NamespacesMonobjc.AppKitNSGradientDrawInBezierPathRelativeCenterPosition(NSBezierPath, NSPoint)

Draws a radial gradient starting at the center point of the specified path.

Original signature is '- (void)drawInBezierPath:(NSBezierPath *)path relativeCenterPosition:(NSPoint)relativeCenterPosition'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawInBezierPathRelativeCenterPosition(
	NSBezierPath path,
	NSPoint relativeCenterPosition
)
Public Overridable Sub DrawInBezierPathRelativeCenterPosition ( _
	path As NSBezierPath, _
	relativeCenterPosition As NSPoint _
)
public:
virtual void DrawInBezierPathRelativeCenterPosition(
	NSBezierPath^ path, 
	NSPoint relativeCenterPosition
)
Parameters
path (NSBezierPath)
The path to fill.
relativeCenterPosition (NSPoint)
The relative location within the bounding rectangle of path to use as the center point of the gradient’s end circle. Each coordinate must contain a value between -1.0 and 1.0. A coordinate value of 0 represents the center of the path’s bounding rectangle along the given axis. In the default coordinate system, a value of -1.0 corresponds to the bottom or left edge of the bounding rectangle and a value of 1.0 corresponds to the top or right edge.
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)