Package org.verapdf.features.gf.objects
Class GFShadingFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFShadingFeaturesObjectAdapter
-
- All Implemented Interfaces:
FeaturesObjectAdapter,ShadingFeaturesObjectAdapter
public class GFShadingFeaturesObjectAdapter extends Object implements ShadingFeaturesObjectAdapter
Features object adapter for shading- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description GFShadingFeaturesObjectAdapter(PDShading shading, String id, String colorSpaceChild)Constructs new shading features object adapter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAntiAlias()double[]getBBox()StringgetColorSpaceChild()List<String>getErrors()StringgetID()intgetShadingType()booleanisPDFObjectPresent()
-
-
-
Constructor Detail
-
GFShadingFeaturesObjectAdapter
public GFShadingFeaturesObjectAdapter(PDShading shading, String id, String colorSpaceChild)
Constructs new shading features object adapter- Parameters:
shading- PDShading which represents shading for feature reportid- id of the objectcolorSpaceChild- colorSpace id which contains in this shading
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin interfaceShadingFeaturesObjectAdapter
-
getColorSpaceChild
public String getColorSpaceChild()
- Specified by:
getColorSpaceChildin interfaceShadingFeaturesObjectAdapter
-
getShadingType
public int getShadingType()
- Specified by:
getShadingTypein interfaceShadingFeaturesObjectAdapter
-
getBBox
public double[] getBBox()
- Specified by:
getBBoxin interfaceShadingFeaturesObjectAdapter
-
getAntiAlias
public boolean getAntiAlias()
- Specified by:
getAntiAliasin interfaceShadingFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-