View Full Version : paint method and graphics g
12-07-2006, 04:02 AM
hi, im am starting to use the graphics g and the paint method in java to just kinds of mess around with. does anyone know a program were i can draw what i want my figuer to look like, and then it woudl give me a code liek (g.drawRect (12,34,54,54,123) g.fillOval (12,34,54,54,123) ect. all help would be great. thanks!:eek: :eek:
If you draw your image in a vector graphics program, then view the source of the resulting SVG file, it should be simple enough to translate to Graphics2D calls.
Alternatively, you could do the easy thing and just display an external image. :)
02-08-2007, 09:18 PM
I dont know if such a program exist, but I could see how it could be handy. Working out vectors can be tedious
Maybe its a handy project for someone fairly new, but wants to get their hands dirty... that gives me an idea.
Aye, that would be handy. I'd use it.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.