public class RotateFilter extends ImageFilter
cropX
cropY
cropWidth
cropHeight
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 |
triggerParams
oncePerRequest
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, trigger
destroy, doFilter, getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init, log, log, setFilterConfig, setOncePerRequest
protected static final String PARAM_ANGLE
angle
protected static final String PARAM_ANGLE_UNITS
angleUnits (RADIANS|DEGREES)
protected static final String PARAM_CROP
crop
protected static final String PARAM_BGCOLOR
bgcolor
protected RenderedImage doFilter(BufferedImage pImage, javax.servlet.ServletRequest pRequest, ImageServletResponse pResponse)
doFilter
in class ImageFilter
pImage
- the image to filterpRequest
- the servlet requestpResponse
- the servlet responseCopyright © 2017. All rights reserved.