|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.image.SimpleImageRenderPredicate
public final class SimpleImageRenderPredicate
A predicate that decides whether or not an image stream should be rendered as a raster, depending on the size of the resulting raster.
Constructor Summary | |
---|---|
SimpleImageRenderPredicate(int rasterSizeThresholdPx)
|
Method Summary | |
---|---|
boolean |
apply(ImageDimensions input)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
---|
equals |
Constructor Detail |
---|
public SimpleImageRenderPredicate(int rasterSizeThresholdPx)
Method Detail |
---|
public boolean apply(@Nullable ImageDimensions input)
apply
in interface com.google.common.base.Predicate<ImageDimensions>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |