TypeLib Xojo support Plugin

RawBitmap.DrawLineAntialiased Method

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

DrawLineAntialiased(
   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 4 drawing methods then it is not a Graphics context and never will be. The 4 drawing commands are more of to help make debugging easier.

This method has no meaningful result when using CMYK colorspace.

This method does nothing on 16bit per channel bitmaps.

See Also

RawBitmap Class