Package com.stimulsoft.base.helper
Class StiSvgHelper
java.lang.Object
com.stimulsoft.base.helper.StiSvgHelper
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImagedecodeSVG(byte[] svgBytes, StiRectangle rect, double zoom) static BufferedImagedecodeSVG(String base64string, StiRectangle rect, double zoom) static StiColorstatic booleanisSvg(byte[] data) static booleanstatic BufferedImagerasterize(byte[] bytes, float width, float height)
-
Constructor Details
-
StiSvgHelper
public StiSvgHelper()
-
-
Method Details
-
getColor
-
isSvg
-
isSvg
public static boolean isSvg(byte[] data) -
decodeSVG
public static BufferedImage decodeSVG(String base64string, StiRectangle rect, double zoom) throws IOException - Throws:
IOException
-
decodeSVG
public static BufferedImage decodeSVG(byte[] svgBytes, StiRectangle rect, double zoom) throws IOException - Throws:
IOException
-
rasterize
- Throws:
IOException
-