iText 8.0.2 API
|
Shading pattern provides a smooth transition between colors across an area to be painted, independent of the resolution of any particular output device and without specifying the number of steps in the color transition. More...
Public Member Functions |
|
Shading (PdfDictionary pdfObject) | |
Creates new instance from the iText.Kernel.Pdf.PdfStream object. More... |
|
Shading (PdfShading shading) | |
Creates a new instance of Shading Pattern. More... |
|
virtual PdfDictionary | GetShading () |
Gets the dictionary of the pattern's PdfShading. More... |
|
virtual void | SetShading (PdfShading shading) |
Sets the PdfShading that specifies the details of a particular gradient fill. More... |
|
virtual void | SetShading (PdfDictionary shading) |
Sets the dictionary which specifies the details of a particular gradient fill. More... |
|
![]() |
|
virtual PdfArray | GetMatrix () |
Gets a transformation matrix that maps the pattern’s internal coordinate system to the default coordinate system of the pattern’s parent content stream. More... |
|
virtual void | SetMatrix (PdfArray matrix) |
Sets a transformation matrix that maps the pattern’s internal coordinate system to the default coordinate system of the pattern’s parent content stream. More... |
|
override void | Flush () |
To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. More... |
|
![]() |
|
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual bool | IsFlushed () |
Additional Inherited Members |
|
![]() |
|
static iText.Kernel.Pdf.Colorspace.PdfPattern | GetPatternInstance (PdfDictionary pdfObject) |
Creates the instance wrapper of correct type from the iText.Kernel.Pdf.PdfDictionary More... |
|
Shading pattern provides a smooth transition between colors across an area to be painted, independent of the resolution of any particular output device and without specifying the number of steps in the color transition.
Shading pattern provides a smooth transition between colors across an area to be painted, independent of the resolution of any particular output device and without specifying the number of steps in the color transition. Patterns of this type are described by pattern dictionaries with a pattern type of 2.
|
inline |
Creates new instance from the iText.Kernel.Pdf.PdfStream object.
Creates new instance from the iText.Kernel.Pdf.PdfStream object. This stream should have PatternType equals to 2.
pdfObject | the iText.Kernel.Pdf.PdfStream that represents Shading Pattern. |
|
inline |
Creates a new instance of Shading Pattern.
shading | the PdfShading that specifies the details of a particular gradient fill |
|
inlinevirtual |
Gets the dictionary of the pattern's PdfShading.
|
inlinevirtual |
Sets the dictionary which specifies the details of a particular gradient fill.
shading | the dictionary of the pattern's PdfShading |
|
inlinevirtual |
Sets the PdfShading that specifies the details of a particular gradient fill.
shading | the PdfShading that specifies the details of a particular gradient fill |