|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.coobird.thumbnailator.filters.Pipeline
public final class Pipeline
An ImageFilter which will apply multiple ImageFilters in a
specific order.
| Constructor Summary | |
|---|---|
Pipeline()
Instantiates a new Pipeline with no image filters to apply. |
|
Pipeline(ImageFilter... filters)
Instantiates a new Pipeline with an array of ImageFilters
to apply. |
|
Pipeline(List<ImageFilter> filters)
Instantiates a new Pipeline with a list of ImageFilters
to apply. |
|
| Method Summary | |
|---|---|
void |
add(ImageFilter filter)
Adds an ImageFilter to the pipeline. |
void |
addAll(List<ImageFilter> filters)
Adds a List of ImageFilters to the pipeline. |
void |
addFirst(ImageFilter filter)
Adds an ImageFilter to the beginning of the pipeline. |
BufferedImage |
apply(BufferedImage img)
Applies a image filtering operation on an image. |
List<ImageFilter> |
getFilters()
Returns a list of ImageFilters which will be applied by this
Pipeline. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pipeline()
Pipeline with no image filters to apply.
public Pipeline(ImageFilter... filters)
Pipeline with an array of ImageFilters
to apply.
filters - An array of ImageFilters to apply.public Pipeline(List<ImageFilter> filters)
Pipeline with a list of ImageFilters
to apply.
filters - A list of ImageFilters to apply.| Method Detail |
|---|
public void add(ImageFilter filter)
ImageFilter to the pipeline.
public void addFirst(ImageFilter filter)
ImageFilter to the beginning of the pipeline.
public void addAll(List<ImageFilter> filters)
List of ImageFilters to the pipeline.
filters - A list of filters to add to the pipeline.public List<ImageFilter> getFilters()
ImageFilters which will be applied by this
Pipeline.
public BufferedImage apply(BufferedImage img)
ImageFilter
apply in interface ImageFilterimg - The image to apply the filtering on.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||