public class SpriteProcessorImpl
extends Object
implements com.liferay.portal.kernel.image.SpriteProcessor
Constructor and Description |
---|
SpriteProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
protected RenderedImage |
convert(RenderedImage renderedImage) |
protected RenderedImage |
createRenderedImage(RenderedImage renderedImage,
int height,
int width,
DataBuffer dataBuffer) |
Properties |
generate(javax.servlet.ServletContext servletContext,
List<URL> imageURLs,
String spriteRootDirName,
String spriteFileName,
String spritePropertiesFileName,
String rootPath,
int maxHeight,
int maxWidth,
int maxSize) |
protected void |
printImage(RenderedImage renderedImage) |
public Properties generate(javax.servlet.ServletContext servletContext, List<URL> imageURLs, String spriteRootDirName, String spriteFileName, String spritePropertiesFileName, String rootPath, int maxHeight, int maxWidth, int maxSize) throws IOException
generate
in interface com.liferay.portal.kernel.image.SpriteProcessor
IOException
protected RenderedImage convert(RenderedImage renderedImage) throws Exception
Exception
protected RenderedImage createRenderedImage(RenderedImage renderedImage, int height, int width, DataBuffer dataBuffer)
protected void printImage(RenderedImage renderedImage)