Image.setColorMask

Sets the transparent color of the image by the RGB range values.

The color within the range is displayed as a transparent color. The Image must be RGB color space.

class Image
setColorMask
(
uint rmin
,
uint rmax
,
uint gmin
,
uint gmax
,
uint bmin
,
uint bmax
)

Parameters

rmin uint

The lower limit of Red. It must be between 0 and 255.

rmax uint

The upper limit of Red. It must be between 0 and 255.

gmin uint

The lower limit of Green. It must be between 0 and 255.

gmax uint

The upper limit of Green. It must be between 0 and 255.

bmin uint

The lower limit of Blue. It must be between 0 and 255.

bmax uint

The upper limit of Blue. It must be between 0 and 255.

Meta