Package org.verapdf.gf.model.impl.pd
Class GFPDExtGState
- 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.GFPDExtGState
-
- All Implemented Interfaces:
Object,PDExtGState,PDObject,PDResource
public class GFPDExtGState extends GFPDResource implements PDExtGState
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringBMstatic StringCUSTOM_FUNCTIONSstatic StringEXT_G_STATE_TYPEstatic StringFONT_SIZEstatic StringHALFTONEstatic StringLINK_BMstatic StringRI-
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
Constructors Constructor Description GFPDExtGState(PDExtGState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBM()blend modeDoublegetca()fill alphaDoublegetCA()stroke alphaBooleangetcontainsHTO()true if the ExtGState dictionary contains HTO keyBooleangetcontainsHTP()true if the ExtGState dictionary contains HTP keyList<? extends Object>getLinkedObjects(String link)StringgetSMask()String representation of the SMask key ("None" or "Custom")StringgetTR()TR functionStringgetTR2()TR2 function-
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
-
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
-
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
-
-
-
-
Field Detail
-
EXT_G_STATE_TYPE
public static final String EXT_G_STATE_TYPE
- See Also:
- Constant Field Values
-
RI
public static final String RI
- See Also:
- Constant Field Values
-
BM
public static final String BM
- See Also:
- Constant Field Values
-
LINK_BM
public static final String LINK_BM
- See Also:
- Constant Field Values
-
FONT_SIZE
public static final String FONT_SIZE
- See Also:
- Constant Field Values
-
HALFTONE
public static final String HALFTONE
- See Also:
- Constant Field Values
-
CUSTOM_FUNCTIONS
public static final String CUSTOM_FUNCTIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDExtGState
public GFPDExtGState(PDExtGState state)
-
-
Method Detail
-
getTR
public String getTR()
Description copied from interface:PDExtGStateTR function- Specified by:
getTRin interfacePDExtGState
-
getTR2
public String getTR2()
Description copied from interface:PDExtGStateTR2 function- Specified by:
getTR2in interfacePDExtGState
-
getSMask
public String getSMask()
Description copied from interface:PDExtGStateString representation of the SMask key ("None" or "Custom")- Specified by:
getSMaskin interfacePDExtGState
-
getBM
public String getBM()
Description copied from interface:PDExtGStateblend mode- Specified by:
getBMin interfacePDExtGState
-
getca
public Double getca()
Description copied from interface:PDExtGStatefill alpha- Specified by:
getcain interfacePDExtGState
-
getCA
public Double getCA()
Description copied from interface:PDExtGStatestroke alpha- Specified by:
getCAin interfacePDExtGState
-
getcontainsHTP
public Boolean getcontainsHTP()
Description copied from interface:PDExtGStatetrue if the ExtGState dictionary contains HTP key- Specified by:
getcontainsHTPin interfacePDExtGState
-
getcontainsHTO
public Boolean getcontainsHTO()
Description copied from interface:PDExtGStatetrue if the ExtGState dictionary contains HTO key- Specified by:
getcontainsHTOin interfacePDExtGState
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
-