MonobjcMonobjc Documented Class Library
DrawFromCenterRadiusToCenterRadiusOptions Method (startCenter, startRadius, endCenter, endRadius, options)
NamespacesMonobjc.AppKitNSGradientDrawFromCenterRadiusToCenterRadiusOptions(NSPoint, CGFloat, NSPoint, CGFloat, NSGradientDrawingOptions)

Draws a radial gradient between the specified circles.

Original signature is '- (void)drawFromCenter:(NSPoint)startCenter radius:(CGFloat)startRadius toCenter:(NSPoint)endCenter radius:(CGFloat)endRadius options:(NSGradientDrawingOptions)options'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawFromCenterRadiusToCenterRadiusOptions(
	NSPoint startCenter,
	CGFloat startRadius,
	NSPoint endCenter,
	CGFloat endRadius,
	NSGradientDrawingOptions options
)
Public Overridable Sub DrawFromCenterRadiusToCenterRadiusOptions ( _
	startCenter As NSPoint, _
	startRadius As CGFloat, _
	endCenter As NSPoint, _
	endRadius As CGFloat, _
	options As NSGradientDrawingOptions _
)
public:
virtual void DrawFromCenterRadiusToCenterRadiusOptions(
	NSPoint startCenter, 
	CGFloat startRadius, 
	NSPoint endCenter, 
	CGFloat endRadius, 
	NSGradientDrawingOptions options
)
Parameters
startCenter (NSPoint)
The center point of the circle that represents the beginning of the gradient.
startRadius (CGFloat)
The radius of the circle that represents the beginning of the gradient.
endCenter (NSPoint)
The center point of the circle that represents the end of the gradient.
endRadius (CGFloat)
The radius of the circle that represents the end of the gradient.
options (NSGradientDrawingOptions)
The gradient options, if any. You can use these options to extend the gradient size beyond the start and end circles. For more information, see “Gradient Drawing Options”.
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)