Results 1 to 2 of 2
  1. #1
    trishtren is offline Member
    Join Date
    Feb 2011
    Posts
    53
    Rep Power
    0

    Wink Layers or composite?

    Hey iv been looking around for a simple way using java2d to add layers similar to photoshop layers to my drawing canvas. I came across a few techniques on google the most feasible of which is Compositing graphics. I was wondering if using composite graphics to create a layer system similar to photoshop is the best method or if there is an easier way? Any advice or links would be great :)

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    5

    Default

    Just have each layer as a bufferedImage of a particular size with a transparent background and then draw onto those layers. Then it's a matter of drawing those bufferedImages in a particular location and in a particular order.
    My Hobby Project: LegacyClone

Similar Threads

  1. Mouse listening across layers
    By dvreed77 in forum AWT / Swing
    Replies: 1
    Last Post: 02-17-2011, 03:42 PM
  2. questions about events in differents layers
    By Jon_Xel in forum AWT / Swing
    Replies: 10
    Last Post: 07-13-2010, 05:37 AM
  3. SWT Composite repaint possible or not
    By JayantShanker in forum SWT / JFace
    Replies: 0
    Last Post: 04-15-2010, 07:41 AM
  4. composite-id and hibernate
    By Marty in forum JDBC
    Replies: 1
    Last Post: 05-28-2007, 04:34 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
  •