TypeLib Xojo support Plugin

RawBitmap.DrawLine Method

Draws a line at given location into the RawBitmap with a given color.

DrawLine(
   x1 as Integer,
   y1 as Integer,
   x2 as Integer,
   y2 as Integer,
   lineColor as Color)

Parameters

x1
The x coordinate of the first point in the line.
y1
The y coordinate of the first point in the line.
x2
The x coordinate of the second point in the line.
y2
The y coordinate of the second point in the line.
lineColor
The color to use

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