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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
OPI, resourcesHandler, X_OBJECT_TYPEFields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPEFields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGFPDXImage(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS) protectedGFPDXImage(PDXImage simplePDObject, PDResourcesHandler resourcesHandler, PDColorSpace inheritedFillCS, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleantrue 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, getTypedPDXObjectMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInheritedMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getIDMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentriesMethods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInheritedMethods 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:PDXImageInterpolate key in the image dictionary or the value of the I key in the inline image dictionary- Specified by:
getInterpolatein interfacePDXImage
-
getcontainsAlternates
Description copied from interface:PDXImagetrue if the image dictionary contains Alternates key- Specified by:
getcontainsAlternatesin interfacePDXImage
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin 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
-