Class Pattern.ShadingPattern
java.lang.Object
com.orsonpdf.PDFObject
com.orsonpdf.Pattern
com.orsonpdf.Pattern.ShadingPattern
- Enclosing class:
Pattern
A shading pattern object.
-
Nested Class Summary
Nested classes/interfaces inherited from class Pattern
Pattern.ShadingPattern -
Field Summary
FieldsFields inherited from class Pattern
dictionary -
Constructor Summary
ConstructorsConstructorDescriptionShadingPattern(int number, Shading shading, AffineTransform t) Creates a new shading pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the shading.voidsetShading(Shading shading) Sets the shading.Methods inherited from class Pattern
getObjectBytesMethods inherited from class PDFObject
getGeneration, getNumber, getReference, toPDFBytes
-
Field Details
-
shading
-
-
Constructor Details
-
ShadingPattern
Creates a new shading pattern.- Parameters:
number- the PDF object number.shading- the shading.t- the transform from the initial page space to Java2D space.
-
-
Method Details
-
getShading
-
setShading
Sets the shading.- Parameters:
shading- the shading (nullnot permitted).
-