CGContext.SetFillPattern(CGPattern, nfloat[]) Method   
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.
Sets the fill pattern of the context.
public void SetFillPattern(CoreGraphics.CGPattern pattern, nfloat[] components);member this.SetFillPattern : CoreGraphics.CGPattern * nfloat[] -> unitParameters
- components
- nfloat[]
Color components used if the pattern is a masking pattern. Otherwise, a single alpha value.
Remarks
Must be used after SetFillColorSpace(CGColorSpace) has been set to Pattern. If the pattern is an uncolored masking pattern, the components must correspond to those in the base of the fill pattern colorspace, plus an alpha component. If the pattern is colored, components should contain a single value, specifying the opacity.