MonobjcMonobjc Documented Class Library
InterpolatedColorAtLocation Method (location)
NamespacesMonobjc.AppKitNSGradientInterpolatedColorAtLocation(CGFloat)

Returns the color of the rendered gradient at the specified relative location.

Original signature is '- (NSColor *)interpolatedColorAtLocation:(CGFloat)location'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSColor InterpolatedColorAtLocation(
	CGFloat location
)
Public Overridable Function InterpolatedColorAtLocation ( _
	location As CGFloat _
) As NSColor
public:
virtual NSColor^ InterpolatedColorAtLocation(
	CGFloat location
)
Parameters
location (CGFloat)
The location value for the color you want. This value must be between 0.0 and 1.0. This value need not correspond to the location of one of the color objects used to create the gradient.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSGradient.InterpolatedColorAtLocation(Monobjc.ApplicationServices.CGFloat)"]

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)