1 Reply Latest reply on Aug 24, 2010 6:19 AM by ilya_shaikovsky

    rich:paint2D zoom in and out

    k_krish_rao

      Hi,

       

      I use rich:paint2D to draw image of a workflow. Its done using the normal awt paint api's.

       

      I would like to have a zoom in a and zoom out feature for this component.

      Can this be done using rich faces.

       

      Also I need a birds eye view of the image too.

      If my workflow is too big, then when I'am viewing a portion of the workflow (image). I would like to see which area of the workflow I currently looking at.

      Something like a overview pane.

       

      Thanks in advance

        • 1. Re: rich:paint2D zoom in and out
          ilya_shaikovsky

          The responsibility of paint2D is just encode img with the content you passed from your creator method.

           

          So zoom could be  done by the same method which creates the image. And output of the whole image with highlighted zone of current output also.