I draw an oval as follows g.fillOval (0, 0, 100, 40); How to rotate it relative to the center of the shape at an arbitrary angle?
http://docs.oracle.com/javase/7/docs/api/java/awt/geom/AffineTransform.html#rotate(double)
public void rotate(double theta, double anchorx, double anchory)
perfect fit.
Source: https://ru.stackoverflow.com/questions/171805/More articles:How to pull the contents of the tag through preg_match_all?Technical work on the site PHPCnc without htaccess, what is it fraught with?JQuery counterStrange behavior of $ .get in jqueryBinary number systemWhat is a hash tag?How to draw a circle of a given radius with lines?Using dropbox api in AndroidTranslation of titles and expressions in programmingAll Articles