Xoetrope

 Wiki : XDisplaySvg

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XDisplaySvg

class com.xoetrope.svg.XDisplaySvg

JComponent used to display SVG images only. For more complex imaging applications that require zooming and panning the XSvgImageMap component should be used.

1. Constructor


public XDisplaySvg()

Creates an instance of the component.

2. Methods


1. setUrl

public void setUrl( URL url )

Sets the unary resource location of the SVG image to be displayed.

2. display

public SVGDiagram display()

Loads the SVG image and displays it.

3. paintComponent

public void paintComponent( Graphics g )

Renders the SVG image to a BufferedImage object and paints it within the component.

There are no comments on this page. [Add comment]

Page was generated in 0.2495 seconds