CGImage.WithMaskingColors(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.
Creats a new image by masking the values in the image with the specified components.
public CoreGraphics.CGImage WithMaskingColors (nfloat[] components);
member this.WithMaskingColors : nfloat[] -> CoreGraphics.CGImage
Parameters
- components
- nfloat[]
Array contains pairs of (min,max) floats for each component.
Returns
Remarks
If the image has three components (RGB for example) the components array should contains six values.