Search:

Type: Posts; User: game06

Search: Search took 0.08 seconds.

  1. Thread: rotate in java

    by game06
    Replies
    3
    Views
    1,128

    Re: rotate in java

    i just change some stuff. the problem is that the 1st rect x, y, postion is getting messed up. iam not sure why. this look righ tto me.



    ///paint method
    Graphics2D g2d = (Graphics2D) g;...
  2. Thread: rotate in java

    by game06
    Replies
    3
    Views
    1,128

    rotate in java

    in paint method am drawing two rect but i want to rotate the 1st rect.




    ....
    public void paint(...)
    {
    ...
    g2d.translate(180, -50); //rotate
Results 1 to 2 of 2