Class SimpleImageRenderPredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<ImageDimensions>, Predicate<ImageDimensions>

    @Deprecated
    public final class SimpleImageRenderPredicate
    extends Object
    implements com.google.common.base.Predicate<ImageDimensions>
    Deprecated.
    since 7.0.1
    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 Detail

      • SimpleImageRenderPredicate

        public SimpleImageRenderPredicate​(int rasterSizeThresholdPx)
        Deprecated.
    • Method Detail

      • apply

        public boolean apply​(@Nullable ImageDimensions input)
        Deprecated.
        Specified by:
        apply in interface com.google.common.base.Predicate<ImageDimensions>