public class PdfImageXObjectPredicate extends Object implements IPdfObjectPredicate
PdfObject
is a PdfImageXObject
.
Constructor and Description |
---|
PdfImageXObjectPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
customCondition(com.itextpdf.kernel.pdf.PdfObject object)
When overridden allows to provide custom condition on images which match the predicate.
|
boolean |
test(com.itextpdf.kernel.pdf.PdfObject object)
Checks that current object is a PdfStream and has key PdfName.Subtype associated with value PdfName.Image .
|
public final boolean test(com.itextpdf.kernel.pdf.PdfObject object)
PdfStream
and has key PdfName.Subtype
associated with value PdfName.Image
. If optional key PdfName.Type
is presented it should be associated with the value PdfName.XObject
.
test
in interface IPdfObjectPredicate
object
- is an argument
public boolean customCondition(com.itextpdf.kernel.pdf.PdfObject object)
object
- is an image dictionary
Copyright © 1998–2020 iText Group NV. All rights reserved.