TypeLib Xojo support Plugin

RawBitmap.FillRectAlpha Method

Draws only the alpha channel of filled rectangle

FillRectAlpha(
   x as Integer,
   y as Integer,
   width as Integer,
   height as Integer,
   alpha as UInt8)

Parameters

x
x coordinate of top left corner of the rectangle.
y
y coordinate of top left corner of the rectangle.
width
width of the rectangle.
height
height of the rectangle.
alpha
The alpha value 0 - 255 as its represented in a bitmap (reverse to how Xojo color represents the Alpha)

Remarks

If the RawBitmap has no alpha channel then this method does nothing.

This method has no meaningful result when using CMYK colorspace.

This method does nothing on 16bit per channel bitmaps.

See Also

RawBitmap Class