17 lines
450 B
Markdown
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 |