CGGradient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[]