class Scanline
package geometrize.rasterizer
Represents a scanline, a row of pixels running across a bitmap.
Constructor
inline new (y:Int, x1:Int, x2:Int)
Creates a new scanline.
Parameters:
y | The y-coordinate. |
---|---|
x1 | The leftmost x-coordinate. |
x2 | The rightmost x-coordinate. |