Thread: DrawArc

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    29
    Rep Power
    0

    Question DrawArc


    Alright, I am new to programing in general. I have
    g.fillOval(380, 150, 100, 80);
    g.drawArc(380,138,65,55,30,60);
    in which I am trying to make look like a pumpkin by using draw arcs across the oval. this is what I have tried
    g.drawArc(350, 146, 121, 80, -90, 120);
    and that does not look right. if anyone has a good article on drawArc for a new user would be greatly appreciated. ps. I have googled and read "drawArc java"

    Sloshy.
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,737
    Rep Power
    352

    Need test program


    Can you make a small program that compiles and executes and demonstrates your problem that we could use for testing?

    Comments on this post

    • codeJ disagrees : not needed
    • jzd agrees : Good suggestion
    • tfecw agrees
  4. #3
  5. Santosh Vaza
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Location
    JHome
    Posts
    356
    Rep Power
    17
    Originally Posted by sloshymon
    if anyone has a good article on drawArc for a new user would be greatly appreciated. ps. I have googled and read "drawArc java"
    http://richardbowles.tripod.com/java...hics.htm#part3

    out of point:
    using Java 2D would be much better.
    Last edited by codeJ; September 13th, 2010 at 03:06 AM.
    no one can become perfect by merely ceasing the act

IMN logo majestic logo threadwatch logo seochat tools logo