Share via


CGGradient Constructors

Definition

Overloads

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, System.Runtime.InteropServices.NFloat[] components);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * System.Runtime.InteropServices.NFloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
components
NFloat[]

Applies to

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

public CGGradient(CoreGraphics.CGColorSpace colorspace, CoreGraphics.CGColor[] colors, System.Runtime.InteropServices.NFloat[]? locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * CoreGraphics.CGColor[] * System.Runtime.InteropServices.NFloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
colors
CGColor[]
locations
NFloat[]

Applies to

CGGradient(CGColorSpace, NFloat[], NFloat[])

public CGGradient(CoreGraphics.CGColorSpace colorspace, System.Runtime.InteropServices.NFloat[] components, System.Runtime.InteropServices.NFloat[]? locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * System.Runtime.InteropServices.NFloat[] * System.Runtime.InteropServices.NFloat[] -> CoreGraphics.CGGradient

Parameters

colorspace
CGColorSpace
components
NFloat[]
locations
NFloat[]

Applies to