public class RotateFilter extends ImageFilter
cropXcropYcropWidthcropHeight| Modifier and Type | Field and Description |
|---|---|
protected static String |
PARAM_ANGLE
angle |
protected static String |
PARAM_ANGLE_UNITS
angleUnits (RADIANS|DEGREES) |
protected static String |
PARAM_BGCOLOR
bgcolor |
protected static String |
PARAM_CROP
crop |
triggerParamsoncePerRequest| Constructor and Description |
|---|
RotateFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected RenderedImage |
doFilter(BufferedImage pImage,
javax.servlet.ServletRequest pRequest,
ImageServletResponse pResponse)
Reads the image from the requested URL, rotates it, and returns
it in the
Servlet stream.
|
doFilterImpl, setTriggerParams, triggerdestroy, doFilter, getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init, log, log, setFilterConfig, setOncePerRequestprotected static final String PARAM_ANGLE
angleprotected static final String PARAM_ANGLE_UNITS
angleUnits (RADIANS|DEGREES)protected static final String PARAM_CROP
cropprotected static final String PARAM_BGCOLOR
bgcolorprotected RenderedImage doFilter(BufferedImage pImage, javax.servlet.ServletRequest pRequest, ImageServletResponse pResponse)
doFilter in class ImageFilterpImage - the image to filterpRequest - the servlet requestpResponse - the servlet responseCopyright © 2017. All rights reserved.