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 boolean
getAntiAlias()
double[]
getBBox()
String
getColorSpaceChild()
List<String>
getErrors()
String
getID()
int
getShadingType()
boolean
isPDFObjectPresent()
-
-
-
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:
getID
in interfaceShadingFeaturesObjectAdapter
-
getColorSpaceChild
public String getColorSpaceChild()
- Specified by:
getColorSpaceChild
in interfaceShadingFeaturesObjectAdapter
-
getShadingType
public int getShadingType()
- Specified by:
getShadingType
in interfaceShadingFeaturesObjectAdapter
-
getBBox
public double[] getBBox()
- Specified by:
getBBox
in interfaceShadingFeaturesObjectAdapter
-
getAntiAlias
public boolean getAntiAlias()
- Specified by:
getAntiAlias
in interfaceShadingFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresent
in interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrors
in interfaceFeaturesObjectAdapter
-
-