TypeLib Xojo support Plugin |
|
RawBitmap.FillRect Method
Draws filled rectangle of given color

FillRect(
x
as Integer,
y
as Integer,
width
as Integer,
height
as Integer,
fillColor
as Color)
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.
- fillColor
- color to fill the rectangle with.
Remarks
Note even if this class has the some methods to draw then it is not a Graphics context and never will be. The few drawing commands are more of to help make debugging easier.
When used with color space CMYK then the fill color is no longer RGB but CMYK, and is passed in like &cFFFFFFFF, where first 2 hex letters are C, 2nd 2 are M, next pair is Y and last pair is Key.
See Also
RawBitmap Class