Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating an image and Drawing to it.

 
Madhur Baheti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.Using a component's graphics context, you usually draw shapes on the component. How can i draw to an image. Suppose i want to draw a circle.But rather than displaying it on a window, I want it to be drawn as a gif image with a white background, how can i do that? The image does not exist and I want to create it from scratch.
Thank You.
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic