Initializes a newly allocated gradient object with a comma-separated list of arguments.
Original signature is '- (id)initWithColorsAndLocations:(NSColor *)firstColor,...'
Available in Mac OS X v10.5 and later.
Declaration Syntax
public virtual Id InitWithColorsAndLocations(
NSColor firstColor,
params Object[] values
)
Public Overridable Function InitWithColorsAndLocations ( _
firstColor As NSColor, _
ParamArray values As Object() _
) As Id
public:
virtual Id^ InitWithColorsAndLocations(
NSColor^ firstColor,
... array<Object^>^ values
)
Parameters
- firstColor (NSColor)
- MISSING
- values (array<Object>[]()[][])
- MISSING
Return Value
The initialized NSGradient object.
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)