Hi I’m looking at the the drawRect
in h2d.Graphics. Looking at this example here:
// Create a custom graphics object by passing a 2d scene reference.
var customGraphics = new h2d.Graphics(s2d);
//specify a color we want to draw with
customGraphics.beginFill(0xEA8220);
//Draw a rectangle at 10,10 that is 300 pixels wide and 200 pixels tall
customGraphics.drawRect(10, 10, 300, 200);
//End our fill
customGraphics.endFill();
However I don’t see a way to rotate the rectangle. Is there a way to draw a rotated rectangle?