Class GFPDXImage
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.pd.GFPDObject
org.verapdf.gf.model.impl.pd.GFPDResource
org.verapdf.gf.model.impl.pd.images.GFPDXObject
org.verapdf.gf.model.impl.pd.images.GFPDXImage
- All Implemented Interfaces:
Object
,PDObject
,PDResource
,PDXImage
,PDXObject
- Direct Known Subclasses:
GFPDSMaskImage
- Author:
- Maksim Bezrukov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
OPI, resourcesHandler, X_OBJECT_TYPE
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPE
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GFPDXImage
(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS) protected
GFPDXImage
(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS, String type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
value of the BitsPerComponent keytrue if the image dictionary contains Alternates keyInterpolate key in the image dictionary or the value of the I key in the inline image dictionarygetLinkedObjects
(String link) protected List<PDSMaskImage>
getSMask()
Methods inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
getcontainsOPI, getcontainsSMask, getSubtype, getTypedPDXObject
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInherited
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID, getobjectKey
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries, getobjectKey
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
Methods inherited from interface org.verapdf.model.pdlayer.PDXObject
getcontainsOPI, getcontainsSMask, getSubtype
-
Field Details
-
X_IMAGE_TYPE
- See Also:
-
IMAGE_CS
- See Also:
-
ALTERNATES
- See Also:
-
INTENT
- See Also:
-
JPX_STREAM
- See Also:
-
S_MASK
- See Also:
-
-
Constructor Details
-
GFPDXImage
protected GFPDXImage(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS) -
GFPDXImage
protected GFPDXImage(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS, String type)
-
-
Method Details
-
getInterpolate
Description copied from interface:PDXImage
Interpolate key in the image dictionary or the value of the I key in the inline image dictionary- Specified by:
getInterpolate
in interfacePDXImage
-
getcontainsAlternates
Description copied from interface:PDXImage
true if the image dictionary contains Alternates key- Specified by:
getcontainsAlternates
in interfacePDXImage
-
getBitsPerComponent
Description copied from interface:PDXImage
value of the BitsPerComponent key- Specified by:
getBitsPerComponent
in interfacePDXImage
-
getLinkedObjects
- Specified by:
getLinkedObjects
in interfaceObject
- Overrides:
getLinkedObjects
in classGenericModelObject
- Parameters:
link
- - the name of a link- Returns:
- List of objects with the given link
-
getSMask
-
containsTransparency
public boolean containsTransparency()- Returns:
- true if current image contains SMask value of type stream or SMaskInData value greater then 0
-