'Usage Dim instance As ImGearPDEImage Dim mask() As Integer instance.SetColorMask(mask)
public: void SetColorMask( array<int>^ mask )
Parameters
- mask
- Array of long values containing the color mask.
'Usage Dim instance As ImGearPDEImage Dim mask() As Integer instance.SetColorMask(mask)
public: void SetColorMask( array<int>^ mask )
The value of the Mask entry is an array of 2n integers, [min1 max1 ... minn maxn], where n is the number of color components in the image's color space. Each integer must be in the range 0 to 2 in power of BitsPerComponent - 1
, representing color values before decoding with the Decode array. An image sample is masked (not painted) if all of its color components before decoding, c1...cn, fall within the specified ranges.