public class ShaderType2 extends PDFShader
AXIAL_SHADING, COONS_PATCH_MESH_SHADING, FREE_FORM_SHADING, FUNCTION_SHADING, LATTICE_SHADING, RADIAL_SHADING, TENSOR_PRODUCTS_MESH_SHADING
Constructor and Description |
---|
ShaderType2()
Creates a new instance of ShaderType2
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
getAxisEnd()
Get the end of the axis
|
java.awt.geom.Point2D |
getAxisStart()
Get the start of the axis
|
boolean |
getExtendEnd()
Get whether to extend the end of the axis
|
boolean |
getExtendStart()
Get whether to extend the start of the axis
|
PDFFunction[] |
getFunctions()
Get the functions associated with this shader
|
float |
getMaxT()
Get the domain maximum
|
float |
getMinT()
Get the domain minimum
|
PDFPaint |
getPaint()
Create a paint that paints this pattern
|
void |
parse(PDFObject shaderObj)
Parse the shader-specific data
|
protected void |
setAxisEnd(java.awt.geom.Point2D axisEnd)
Set the start of the axis
|
protected void |
setAxisStart(java.awt.geom.Point2D axisStart)
Set the start of the axis
|
protected void |
setExtendEnd(boolean extendEnd)
Set whether to extend the end of the axis
|
protected void |
setExtendStart(boolean extendStart)
Set whether to extend the start of the axis
|
protected void |
setFunctions(PDFFunction[] functions)
Set the functions associated with this shader
|
protected void |
setMaxT(float maxT)
Set the domain maximum
|
protected void |
setMinT(float minT)
Set the domain minimum
|
getBackground, getBBox, getColorSpace, getShader, getType, setBackground, setBBox, setColorSpace
public void parse(PDFObject shaderObj) throws java.io.IOException
public PDFPaint getPaint()
public java.awt.geom.Point2D getAxisStart()
protected void setAxisStart(java.awt.geom.Point2D axisStart)
public java.awt.geom.Point2D getAxisEnd()
protected void setAxisEnd(java.awt.geom.Point2D axisEnd)
public float getMinT()
protected void setMinT(float minT)
public float getMaxT()
protected void setMaxT(float maxT)
public boolean getExtendStart()
protected void setExtendStart(boolean extendStart)
public boolean getExtendEnd()
protected void setExtendEnd(boolean extendEnd)
public PDFFunction[] getFunctions()
protected void setFunctions(PDFFunction[] functions)