I am using GraphicsContext (GC) inside an AnimationTimer. I am scaling gc, drawing some objects, rotating gc and then pulling an image.
The image has been rotated in schematic form!
I should be able to get the rotated rectangle that represents the image, so that I rotate non-rotated objects near the second of the (rotate) corners
How do I do this can not see.
I have tried to make 'mirror' rotating rotated rectangular objects but I do not know how to draw rectangular in GC.
There is no gc.draw (node), gc.draw (rectangle) or gc.draw (polygon). I have to draw on the screen to confirm that two matches.
My only option is to break the geometry set and rotate the points, but it seems strange that Jawfix can not do what I need.
Can anyone please help?
No comments:
Post a Comment