TypeLib Xojo support Plugin |

# RawBitmapMask.Constructor Constructor

A constructor that constructs a mask from a RawBitmap.

Constructor(
bitMap as RawBitmap)

#### Parameters

bitMap
  The RawBitmap to use for the mask.

#### Remarks

Note that if color mask is passed to this constructor then the Red channel is chosen as mask.
The RawBitmap passed in will not be copied. So if you update your RawBitmap after passing it in then you are also updating the mask.

#### See Also

RawBitmapMask Class