Results 1 to 2 of 2
  1. #1
    h9h
    h9h is offline Member
    Join Date
    Oct 2009
    Posts
    19
    Rep Power
    0

    Default erase shapes ???

    Do you know how to set up erase function in java like in graphics sofware such as photophop, paint, or corel draw ? I have tried to re paint using the white color but it doens't work well. Any one how to do it ? Thanks in advance.

  2. #2
    h9h
    h9h is offline Member
    Join Date
    Oct 2009
    Posts
    19
    Rep Power
    0

    Default

    Quote Originally Posted by h9h View Post
    Do you know how to set up erase function in java like in graphics sofware such as photophop, paint, or corel draw ? I have tried to re paint using the white color but it doens't work well. Any one how to do it ? Thanks in advance.
    I found a solution for that.. That is the order of drawing shapes. If i erase with background color ( white ) with a pencil and i set the shapes final in the block of arraylists of shapes. But i don't know that is good idea ! help me !

Similar Threads

  1. drawing shapes in java help
    By alphajoseph in forum Java 2D
    Replies: 2
    Last Post: 09-29-2009, 06:35 PM
  2. erase function
    By masa in forum AWT / Swing
    Replies: 1
    Last Post: 04-09-2009, 03:46 AM
  3. How to erase line(s) from a console?
    By Tamu in forum Advanced Java
    Replies: 3
    Last Post: 11-02-2008, 02:00 PM
  4. Colors and shapes.
    By Torgero in forum New To Java
    Replies: 14
    Last Post: 10-13-2008, 05:25 PM
  5. How do erase image drawn
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 05:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •