CGContext.SetStrokePattern(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 stroke pattern of the context.
public void SetStrokePattern (CoreGraphics.CGPattern pattern, nfloat[] components);
member this.SetStrokePattern : CoreGraphics.CGPattern * nfloat[] -> unit
Parameters
- components
- nfloat[]
Color components used if the pattern
is a masking pattern. Otherwise, a single alpha value.
Remarks
Must be used after SetStrokeColorSpace(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 stroke pattern colorspace, plus an alpha component. If the pattern
is colored, components
should contain a single value, specifying the opacity.