Xoetrope

 Wiki : DisplaySvg

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

XDisplaySvg

class com.xoetrope.svg.XDisplaySvg

JComponent used to display SVG images.

1. Constructor


<?java
public XDisplaySvg()
?>


2. Methods


1. setUrl
<?java
public void setUrl( URL url )
?>


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

2. SVGDiagram
<?java
public SVGDiagram display()
?>


Loads the SVG image and displays it.

3. SVGDiagram
<?java
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.3486 seconds