Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Creating an image and Drawing to it. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Creating an image and Drawing to it." Watch "Creating an image and Drawing to it." New topic
Author

Creating an image and Drawing to it.

Madhur Baheti
Greenhorn

Joined: Sep 18, 2004
Posts: 4
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

Joined: Jan 14, 2004
Posts: 1535
 
 
subject: Creating an image and Drawing to it.
 
Similar Threads
DISPLAY an IMAGE
Drawing on an Image
image transperancy
How to highlight the part of image.
Drawing on an Image