DrawBoolMask

procedure DrawBoolMask(img: TIMage32; const mask: TArrayOfByte; color: TColor32 = clBlack32);

Draws onto 'img' polygons corresponding to the boolean (true/false) values in the supplied unidimensional mask. The mask's length should correspond to the supplied image's width x height.

See Also

DrawAlphaMask