iText 8.0.5 API
|
The abstract PdfShading class that represents the Shading Dictionary PDF object. More...
Classes |
|
class | Axial |
The class that extends PdfShading class and is in charge of Shading Dictionary with axial type, that define a colour blend that varies along a linear axis between two endpoints and extends indefinitely perpendicular to that axis. More... |
|
class | CoonsPatchMesh |
The class that extends PdfShading class and is in charge of Shading Dictionary with Coons Patch mesh type. More... |
|
class | FreeFormGouraudShadedTriangleMesh |
The class that extends PdfShading class and is in charge of Shading Dictionary with free-form Gouraud-shaded triangle mesh type. More... |
|
class | FunctionBased |
The class that extends PdfShading class and is in charge of Shading Dictionary with function-based type, that defines color at every point in the domain by a specified mathematical function. More... |
|
class | LatticeFormGouraudShadedTriangleMesh |
The class that extends PdfShading class and is in charge of Shading Dictionary with lattice-form Gouraud-shaded triangle mesh type. More... |
|
class | Radial |
The class that extends PdfShading class and is in charge of Shading Dictionary with radial type, that define a colour blend that varies between two circles. More... |
|
class | TensorProductPatchMesh |
The class that extends PdfShading class and is in charge of Shading Dictionary with Tensor-Product Patch mesh type. 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... |
|
virtual void | SetFunction (IPdfFunction function) |
Sets the function that represents color transitions across the shading geometry as one object. More... |
|
virtual void | SetFunction (IPdfFunction[] functions) |
Sets the function object that represents color transitions across the shading geometry as an array of functions. 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 () |
Static Public Member Functions |
|
static PdfShading | MakeShading (PdfDictionary shadingDictionary) |
Creates the PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary with corresponding type. More... |
|
Package Functions |
|
PdfShading (PdfDictionary pdfObject) | |
Creates the PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary. More... |
|
PdfShading (PdfDictionary pdfObject, int type, PdfColorSpace colorSpace) | |
Creates the PdfShading 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 abstract PdfShading class that represents the Shading Dictionary PDF object.
|
inlinepackage |
Creates the PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary.
pdfObject |
iText.Kernel.Pdf.PdfDictionary from which the PdfShading object will be created.
|
inlinepackage |
Creates the PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary , using provided type and colorspace.
pdfObject |
iText.Kernel.Pdf.PdfDictionary from which the PdfShading object will be created.
type | type with which this PdfShading object will be created. |
colorSpace |
PdfColorSpace with which this PdfShading 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 PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary with corresponding type.
shadingDictionary |
iText.Kernel.Pdf.PdfDictionary from which the PdfShading object will be created.
|
inlinevirtual |
Sets the function that represents color transitions across the shading geometry as one object.
function | The iText.Kernel.Pdf.Function.IPdfFunction to set. |
|
inlinevirtual |
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. |