Files
2026-07-28 15:11:50 -05:00

17 lines
450 B
Markdown

# Line
### [RenderObject](RenderObject.md) < [Pixel](Pixel.md) < [<u>Line</u>](Line.md)
##
The line primitave is a simple one, comprised of 2 Vec2D points
##
## Arguments
| Name | Type | Need |
| ---- | ---- | ---- |
| pos1 | [Vec2D]() | The first position of a line |
| pos2 | [Vec2D]() | The second position of a line |
| color | [rgb]() | The fill color of the line |
| engine | [Engine]() | The call for the engine, used to access the pixbuf