iText 9.1.0 API
|
The PdfShading class that represents the Shading Dictionary PDF object. More...
Public Member Functions |
|
virtual int | GetShadingType () |
Gets the shading type. More... |
|
virtual PdfObject | GetColorSpace () |
Gets the color space in which colour values shall be expressed. More... |
|
virtual PdfObject | GetFunction () |
Gets the function PdfObject that represents color transitions across the shading geometry. More... |
|
void | SetFunction (IPdfFunction function) |
Sets the function that represents color transitions across the shading geometry as one object. More... |
|
void | SetFunction (IPdfFunction[] functions) |
Sets the function object that represents color transitions across the shading geometry as an array of functions. More... |
|
sealed 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 () |
Static Public Member Functions |
|
static iText.Kernel.Pdf.Colorspace.Shading.AbstractPdfShading | MakeShading (PdfDictionary shadingDictionary) |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary with corresponding type. More... |
|
Package Functions |
|
AbstractPdfShading (PdfDictionary pdfObject) | |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary. More... |
|
AbstractPdfShading (PdfDictionary pdfObject, int type, PdfColorSpace colorSpace) | |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary , using provided type and colorspace. More... |
|
override bool | IsWrappedObjectMustBeIndirect () |
Defines if the object behind this wrapper must be an indirect object in the resultant document. More... |
|
![]() |
|
PdfObjectWrapper (T pdfObject) | |
virtual void | SetPdfObject (T pdfObject) |
virtual void | SetForbidRelease () |
virtual void | UnsetForbidRelease () |
virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Additional Inherited Members |
|
![]() |
|
static void | MarkObjectAsIndirect (PdfObject pdfObject) |
static void | EnsureObjectIsAddedToDocument (PdfObject @object) |
Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More... |
|
The PdfShading class that represents the Shading Dictionary PDF object.
|
inlinepackage |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary.
pdfObject |
iText.Kernel.Pdf.PdfDictionary from which the AbstractPdfShading object will be created
|
inlinepackage |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary , using provided type and colorspace.
pdfObject |
iText.Kernel.Pdf.PdfDictionary from which the AbstractPdfShading object will be created
type | type with which this AbstractPdfShading object will be created |
colorSpace |
iText.Kernel.Pdf.Colorspace.PdfColorSpace with which this AbstractPdfShading object will be created
|
inlinevirtual |
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.
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. Basically this means that before flushing you need to explicitly call iText.Kernel.Pdf.PdfObjectWrapper
Reimplemented from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinevirtual |
Gets the color space in which colour values shall be expressed.
iText.Kernel.Pdf.PdfObject Color space
|
inlinevirtual |
Gets the function PdfObject that represents color transitions across the shading geometry.
|
inlinevirtual |
Gets the shading type.
|
inlinepackagevirtual |
Defines if the object behind this wrapper must be an indirect object in the resultant document.
Implements iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinestatic |
Creates the AbstractPdfShading object from the existing iText.Kernel.Pdf.PdfDictionary with corresponding type.
shadingDictionary |
iText.Kernel.Pdf.PdfDictionary from which the AbstractPdfShading object will be created
|
inline |
Sets the function that represents color transitions across the shading geometry as one object.
function | The iText.Kernel.Pdf.Function.IPdfFunction to set |
|
inline |
Sets the function object that represents color transitions across the shading geometry as an array of functions.
functions | The array of iText.Kernel.Pdf.Function.IPdfFunction to be set |