Search:

Type: Posts; User: Darryl.Burke

Search: Search took 0.26 seconds.

  1. Replies
    4
    Views
    3,779

    Re: Drawing circles with smoother lines?

    Anti-aliasing doesn't "stop working". It's a trade-off of sharpness for smoothness.

    db
  2. Replies
    4
    Views
    3,779

    Re: Drawing circles with smoother lines?

    -- Cast the Graphics to Graphics2D :
    Graphics2D g2 = (Graphics2D) g;
    -- set the rendering hint:
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

    db
Results 1 to 2 of 2