org.tbee.swing.svg
Class SVGUtils

java.lang.Object
  extended by org.tbee.swing.svg.SVGUtils

public class SVGUtils
extends Object

Version:
$Revision: 1.7 $

Constructor Summary
SVGUtils()
           
 
Method Summary
static ResizingImageIcon generateResizingImageIcon(InputStream is, int width, int height, double maxfactor, double step)
          Generate an ResizingImageIcon by incremental set of images
static ResizingImageIcon generateResizingImageIcon(URI uri, int width, int height, double maxfactor, double step)
          Generate an ResizingImageIcon by incremental set of images
static BufferedImage toBufferedImage(InputStream is, int width, int height)
           
static BufferedImage toBufferedImage(URI uri, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGUtils

public SVGUtils()
Method Detail

toBufferedImage

public static BufferedImage toBufferedImage(InputStream is,
                                            int width,
                                            int height)
Parameters:
is -
width -
height -
Returns:

toBufferedImage

public static BufferedImage toBufferedImage(URI uri,
                                            int width,
                                            int height)
Parameters:
uri -
width -
height -
Returns:

generateResizingImageIcon

public static ResizingImageIcon generateResizingImageIcon(URI uri,
                                                          int width,
                                                          int height,
                                                          double maxfactor,
                                                          double step)
Generate an ResizingImageIcon by incremental set of images

Parameters:
uri -
width -
height -
maxfactor -
step -
Returns:

generateResizingImageIcon

public static ResizingImageIcon generateResizingImageIcon(InputStream is,
                                                          int width,
                                                          int height,
                                                          double maxfactor,
                                                          double step)
Generate an ResizingImageIcon by incremental set of images

Parameters:
is -
width -
height -
maxfactor -
step -
Returns:


Copyright © 2011 KnowledgePlaza. All Rights Reserved.