Frequently Asked Questions¶
How do I draw a line?
The general answer is: useRectangleShape
. If your line has a width of one pixel, you can also useRenderTarget.draw()
with two vertices and theLINES
primitive.
How do I draw a line?
The general answer is: useRectangleShape
. If your line has a width of one pixel, you can also useRenderTarget.draw()
with two vertices and theLINES
primitive.