Class ShaderType3

java.lang.Object
org.loboevolution.pdfview.pattern.PDFShader
org.loboevolution.pdfview.pattern.ShaderType3

public class ShaderType3 extends PDFShader
A shader that performs radial shader based on a function.
  • Constructor Details

    • ShaderType3

      public ShaderType3()
      Creates a new instance of ShaderType2
  • Method Details

    • parse

      public void parse(PDFObject shaderObj) throws IOException
      Parse the shader-specific data

      Parse the shader-specific data

      Specified by:
      parse in class PDFShader
      Parameters:
      shaderObj - a PDFObject object.
      Throws:
      IOException - if any.
    • getPaint

      public PDFPaint getPaint()
      Returns paint that represents the selected shader

      Create a paint that paints this pattern

      Specified by:
      getPaint in class PDFShader
      Returns:
      a PDFPaint object.