Edit

Share via


CGGradient Constructors

Definition

Overloads

CGGradient(CGColorSpace, CGColor[])
CGGradient(CGColorSpace, nfloat[])
CGGradient(CGColorSpace, CGColor[], nfloat[])
CGGradient(CGColorSpace, nfloat[], nfloat[])

CGGradient(CGColorSpace, CGColor[])

public CGGradient (CoreGraphics.CGColorSpace colorspace, CoreGraphics.CGColor[] colors);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * CoreGraphics.CGColor[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
colors
CGColor[]

Applies to

CGGradient(CGColorSpace, nfloat[])

public CGGradient (CoreGraphics.CGColorSpace colorspace, nfloat[] components);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * nfloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
components
nfloat[]

Applies to

CGGradient(CGColorSpace, CGColor[], nfloat[])

public CGGradient (CoreGraphics.CGColorSpace colorspace, CoreGraphics.CGColor[] colors, nfloat[] locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * CoreGraphics.CGColor[] * nfloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
colors
CGColor[]
locations
nfloat[]

Applies to

CGGradient(CGColorSpace, nfloat[], nfloat[])

public CGGradient (CoreGraphics.CGColorSpace colorspace, nfloat[] components, nfloat[] locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * nfloat[] * nfloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
components
nfloat[]
locations
nfloat[]

Applies to