ImageConsumer, Cloneablepublic class SubsamplingFilter extends ReplicateScaleFilter
ImageFilter class for subsampling images.
It is meant to be used in conjunction with a FilteredImageSource
object to produce subsampled versions of existing images.FilteredImageSourceCOMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHTconsumerdestHeight, destWidth, outpixbuf, srccols, srcHeight, srcrows, srcWidth| Constructor | Description |
|---|---|
SubsamplingFilter(int pXSub,
int pYSub) |
Creates a
SubsamplingFilter. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
setDimensions(int pWidth,
int pHeight) |
ImageFilter implementation, do not invoke. |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setColorModel, setHintsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPixels, setPixels, setPropertiespublic SubsamplingFilter(int pXSub,
int pYSub)
SubsamplingFilter.pXSub - pYSub - IllegalArgumentException - if pXSub or pYSub is
less than 1.public void setDimensions(int pWidth,
int pHeight)
ImageFilter implementation, do not invoke.setDimensions in interface ImageConsumersetDimensions in class ReplicateScaleFilterCopyright © 2018. All rights reserved.