CGGradient 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- colorspace
- CGColorSpace
- colors
- CGColor[]
適用於
CGGradient(CGColorSpace, nfloat[])
public CGGradient (CoreGraphics.CGColorSpace colorspace, nfloat[] components);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * nfloat[] -> CoreGraphics.CGGradient
參數
- colorspace
- CGColorSpace
- components
- nfloat[]
適用於
CGGradient(CGColorSpace, CGColor[], nfloat[])
public CGGradient (CoreGraphics.CGColorSpace colorspace, CoreGraphics.CGColor[] colors, nfloat[] locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * CoreGraphics.CGColor[] * nfloat[] -> CoreGraphics.CGGradient
參數
- colorspace
- CGColorSpace
- colors
- CGColor[]
- locations
- nfloat[]
適用於
CGGradient(CGColorSpace, nfloat[], nfloat[])
public CGGradient (CoreGraphics.CGColorSpace colorspace, nfloat[] components, nfloat[] locations);
new CoreGraphics.CGGradient : CoreGraphics.CGColorSpace * nfloat[] * nfloat[] -> CoreGraphics.CGGradient
參數
- colorspace
- CGColorSpace
- components
- nfloat[]
- locations
- nfloat[]