How to draw filled rectangular at the specific angle?

If I want to create filled rectangular at any angle, is there any api or how to draw the rectangular?


You can draw it on a canvas and then rotate it. Note that you’ll need to use two image descriptors, as you cannot rotate images in-place at the moment.

1 Like

The example in the documentation might help.

1 Like