I noticed that the precision of circle drawn via Circle2D is significatively less than the precision of a java.awt.geom.Ellipse2D.
Circle2D appears composite by many lines, not a lot of points.
Is there any way to increment the drawing precision?
I am evaluating your library for my open source project but i need to draw a shooting target, made with many circles, and the appearance of the target is important.
Thanks in advance for your help.
Andrea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed that the precision of circle drawn via Circle2D is significatively less than the precision of a java.awt.geom.Ellipse2D.
Circle2D appears composite by many lines, not a lot of points.
Is there any way to increment the drawing precision?
I am evaluating your library for my open source project but i need to draw a shooting target, made with many circles, and the appearance of the target is important.
Thanks in advance for your help.
Andrea
Hi,
and sory for delay,
Circle2D and Ellipse2D used polyline approximations to render on screen.
From version 0.7.0, circles draw using java rendering API, so the precision will be the same (it uses cubic bezier approximation)
An other possibility is to convert to Polyline, using : Circle2D.getAsPolyline(N), where N is the number of polylines.
I hope this helps,
regards,
DL