TypeLib Xojo support Plugin |

# RawBitmap.Fill Method

Fills the Bitmap with given color, optionally using mask.

Fill(
colorValue as EinhugurColors.RGBColor,
mask as RawBitmapMask)

#### Parameters

colorValue
  The color value to fill with.
mask
  Optional mask to control the fill.

#### Remarks

The fill supports alpha blending if the mask has gray values.

This method is not supported in CMYK color space, or 32bit floating point RGB color space. When used in unsupported color space the method will silently fail.
This method can throw the following exceptions:
InvalildArgumentException
RawBitmapException

#### See Also

RawBitmap Class