NSGradient Construtores

Definição

Sobrecargas

NSGradient()
NSGradient(NSColor[])
NSGradient(NSCoder)
NSGradient(NSObjectFlag)
NSGradient(IntPtr)
NSGradient(NSColor, NSColor)
NSGradient(NSColor[], Double[])
NSGradient(NSColor[], Single[])
NSGradient(NSColor[], Double[], NSColorSpace)
NSGradient(NSColor[], Single[], NSColorSpace)

NSGradient()

[Foundation.Export("init")]
public NSGradient ();
Atributos

Aplica-se a

NSGradient(NSColor[])

[Foundation.Export("initWithColors:")]
public NSGradient (AppKit.NSColor[] colorArray);
new AppKit.NSGradient : AppKit.NSColor[] -> AppKit.NSGradient

Parâmetros

colorArray
NSColor[]
Atributos

Aplica-se a

NSGradient(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSGradient (Foundation.NSCoder coder);
new AppKit.NSGradient : Foundation.NSCoder -> AppKit.NSGradient

Parâmetros

coder
NSCoder
Atributos

Aplica-se a

NSGradient(NSObjectFlag)

protected NSGradient (Foundation.NSObjectFlag t);
new AppKit.NSGradient : Foundation.NSObjectFlag -> AppKit.NSGradient

Parâmetros

Aplica-se a

NSGradient(IntPtr)

protected internal NSGradient (IntPtr handle);
new AppKit.NSGradient : nativeint -> AppKit.NSGradient

Parâmetros

handle
IntPtr

nativeint

Aplica-se a

NSGradient(NSColor, NSColor)

[Foundation.Export("initWithStartingColor:endingColor:")]
public NSGradient (AppKit.NSColor startingColor, AppKit.NSColor endingColor);
new AppKit.NSGradient : AppKit.NSColor * AppKit.NSColor -> AppKit.NSGradient

Parâmetros

startingColor
NSColor
endingColor
NSColor
Atributos

Aplica-se a

NSGradient(NSColor[], Double[])

public NSGradient (AppKit.NSColor[] colors, double[] locations);
new AppKit.NSGradient : AppKit.NSColor[] * double[] -> AppKit.NSGradient

Parâmetros

colors
NSColor[]
locations
Double[]

Aplica-se a

NSGradient(NSColor[], Single[])

public NSGradient (AppKit.NSColor[] colors, float[] locations);
new AppKit.NSGradient : AppKit.NSColor[] * single[] -> AppKit.NSGradient

Parâmetros

colors
NSColor[]
locations
Single[]

Aplica-se a

NSGradient(NSColor[], Double[], NSColorSpace)

public NSGradient (AppKit.NSColor[] colors, double[] locations, AppKit.NSColorSpace colorSpace);
new AppKit.NSGradient : AppKit.NSColor[] * double[] * AppKit.NSColorSpace -> AppKit.NSGradient

Parâmetros

colors
NSColor[]
locations
Double[]
colorSpace
NSColorSpace

Aplica-se a

NSGradient(NSColor[], Single[], NSColorSpace)

public NSGradient (AppKit.NSColor[] colors, float[] locations, AppKit.NSColorSpace colorSpace);
new AppKit.NSGradient : AppKit.NSColor[] * single[] * AppKit.NSColorSpace -> AppKit.NSGradient

Parâmetros

colors
NSColor[]
locations
Single[]
colorSpace
NSColorSpace

Aplica-se a