class com.xoetrope.swing.svg.XSvgImageMap The XSvgImageMap class manages the display of an SVG (Scalable Vector Graphics) image. SVG is a language for describing two-dimensional graphics in XML. The class extends the XUI XPanel class to provide a panel to display the SVG image in and implements the MouseMotionListener and XAttributedComponent interfaces. ==1. Constructor== %%(java) %% The constructor shown above takes the width, height and path of the SVG file as parameters. The path specifies the entire path of the SVG file that is to be displayed. ==2. Methods== ==3. Examples== Here is a simple Java swing example to display an SVG file using the XSvgImageMap class: %%(java) %% In the above example "C:/Images/image1.svg" specifies the path to the SVG file you wish to display. Calling the display() method renders the SVG image and displays it in the XPanel. In order to have the image resize when you resize the frame, you will need to specify a viewBox attribute within your SVG file.