[Solved] Drawing a rectangle with a certain angle of degree
It depends on the drawing environment you’re using. For example, if you use HTML5 canvas, you could rotate the canvas, draw the rectangle and then return the canvas to the original position, obtaining the “rotated” rectangle. You should check your environment documentation for further info or give more info in the question so we can … Read more