TypeLib Xojo support Plugin |
|
RawBitmap.DrawRect Method
Draws non filled rectangle.

DrawRect(
x
as Integer,
y
as Integer,
width
as Integer,
height
as Integer,
drawColor
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.
- drawColor
- Color to frame 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.
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.
See Also
RawBitmap Class