CGImage.WithMaskingColors(nfloat[]) Method

Definition

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.

Applies to