Class PDShadingPattern

    • Constructor Detail

      • PDShadingPattern

        public PDShadingPattern()
        Creates a new shading pattern.
      • PDShadingPattern

        public PDShadingPattern​(COSDictionary resourceDictionary)
        Creates a new shading pattern from the given COS dictionary.
        Parameters:
        resourceDictionary - The COSDictionary for this pattern resource.
    • Method Detail

      • getExtendedGraphicsState

        public PDExtendedGraphicsState getExtendedGraphicsState()
        This will get the external graphics state for this pattern.
        Returns:
        The extended graphics state for this pattern.
      • setExtendedGraphicsState

        public void setExtendedGraphicsState​(PDExtendedGraphicsState extendedGraphicsState)
        This will set the external graphics state for this pattern.
        Parameters:
        extendedGraphicsState - The new extended graphics state for this pattern.
      • getShading

        public PDShading getShading()
                             throws java.io.IOException
        This will get the shading resources for this pattern.
        Returns:
        The shading resources for this pattern.
        Throws:
        java.io.IOException - if something went wrong
      • setShading

        public void setShading​(PDShading shadingResources)
        This will set the shading resources for this pattern.
        Parameters:
        shadingResources - The new shading resources for this pattern.