Search:

Type: Posts; User: johnpooley3

Search: Search took 0.43 seconds.

  1. Re: Writing a method to draw a rotatable rectangle using Graphics2D

    Is this the correct way to implement that class?

    public static void drawRotatedRect(Graphics2D g, double x, double y, double heading, double h, double w)
    {
    AffineTransform returnTransform...
  2. Writing a method to draw a rotatable rectangle using Graphics2D

    I am trying to create a method (for robocode) that draws a rotatable rectangle with the (X,Y) coordinates referring to the center of rotation. I have created a method stub, but cannot figure out the...
Results 1 to 2 of 2