How can I create irregular shaped canvas/UIComponent? By irregular shaped, I mean teris like shapes. Is there a proper way of doing it?
This will be a draggable component. Once the dragged component is overlapped on another component, user should be able to what is in the background.
Thanks in advance.
Can this be made dynamic? The backend is returning a bunch of images that are different in shape. Actually this is what happening: Backend is generating a flat image out of bunch of small images. We know the contour and the points that creates the contour.
And we are using Flex 3.
Canvas is a container of components. It might be too heavy to be used for pieces of graphics. UIComponent is probably better. If you have a set of coordinates, compute the bounding box, set the width/height to the bounding box and draw the graphics in the graphics object.