drawLine method
Draws a line using Bresenham's algorithm.
Parameters:
p1: The starting point of the line.p2: The ending point of the line.color: The color of the line.
Implementation
void drawLine(XVPoint p1, XVPoint p2, XVColor color) {
DrawingProcessor.drawLine(this, p1, p2, color);
}