iText 8.0.5 API
|
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...
Public Member Functions |
|
Axial (PdfColorSpace cs, float x0, float y0, float[] color0, float x1, float y1, float[] color1) | |
Creates the new instance of the class. More... |
|
Axial (PdfColorSpace cs, float x0, float y0, float[] color0, float x1, float y1, float[] color1, bool[] extend) | |
Creates the new instance of the class. More... |
|
Axial (PdfColorSpace cs, PdfArray coords, IPdfFunction function) | |
Creates the new instance of the class. More... |
|
Axial (PdfColorSpace cs, PdfArray coords, PdfArray domain, IPdfFunction function) | |
Creates the new instance of the class. More... |
|
virtual PdfArray | GetCoords () |
Gets the Coords object - a iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1] that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space. More... |
|
virtual void | SetCoords (float x0, float y0, float x1, float y1) |
Sets the Choords object with the four params expressed in the shading's target coordinate space. More... |
|
virtual void | SetCoords (PdfArray coords) |
Sets the Choords object with the iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1], that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space. More... |
|
virtual PdfArray | GetDomain () |
Gets the iText.Kernel.Pdf.PdfArray of two float [t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s). More... |
|
virtual void | SetDomain (float t0, float t1) |
Sets the Domain with the array of two float [t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s). More... |
|
virtual void | SetDomain (PdfArray domain) |
Sets the Domain with the iText.Kernel.Pdf.PdfArray of two float [t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s). More... |
|
virtual PdfArray | GetExtend () |
Gets the iText.Kernel.Pdf.PdfArray of two boolean that specified whether to extend the shading beyond the starting and ending points of the axis, respectively. More... |
|
virtual void | SetExtend (bool extendStart, bool extendEnd) |
Sets the Extend object with the two boolean value. More... |
|
virtual void | SetExtend (PdfArray extend) |
Sets the Extend object with the iText.Kernel.Pdf.PdfArray of two boolean . More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfShading | |
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... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
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 () |
Package Functions |
|
Axial (PdfDictionary pdfDictionary) | |
Creates the new instance of the class from the existing iText.Kernel.Pdf.PdfDictionary. More... |
|
Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfShading | |
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... |
|
Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
PdfObjectWrapper (T pdfObject) | |
virtual void | SetPdfObject (T pdfObject) |
virtual void | SetForbidRelease () |
virtual void | UnsetForbidRelease () |
virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Additional Inherited Members |
|
Static Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfShading | |
static PdfShading | MakeShading (PdfDictionary shadingDictionary) |
Creates the PdfShading object from the existing iText.Kernel.Pdf.PdfDictionary with corresponding type. More... |
|
Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
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 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.
|
inlinepackage |
Creates the new instance of the class from the existing iText.Kernel.Pdf.PdfDictionary.
pdfDictionary | from which this Axial will be created |
|
inline |
Creates the new instance of the class.
cs | the PdfColorSpace object in which colour values shall be expressed. The special Pattern space isn't excepted. |
x0 | the start coordinate of X axis expressed in the shading's target coordinate space. |
y0 | the start coordinate of Y axis expressed in the shading's target coordinate space. |
color0 | the float[] that represents the color in the start point. |
x1 | the end coordinate of X axis expressed in the shading's target coordinate space. |
y1 | the end coordinate of Y axis expressed in the shading's target coordinate space. |
color1 | the float[] that represents the color in the end point. |
|
inline |
Creates the new instance of the class.
cs | the PdfColorSpace object in which colour values shall be expressed. The special Pattern space isn't excepted. |
x0 | the start coordinate of X axis expressed in the shading's target coordinate space. |
y0 | the start coordinate of Y axis expressed in the shading's target coordinate space. |
color0 | the float[] that represents the color in the start point. |
x1 | the end coordinate of X axis expressed in the shading's target coordinate space. |
y1 | the end coordinate of Y axis expressed in the shading's target coordinate space. |
color1 | the float[] that represents the color in the end point. |
extend | the array of two booleans that specified whether to extend the shading beyond the starting and ending points of the axis, respectively. |
|
inline |
Creates the new instance of the class.
cs | the PdfColorSpace object in which colour values shall be expressed. The special Pattern space isn't excepted. |
coords | the iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1] that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space. |
function | the iText.Kernel.Pdf.Function.IPdfFunction object, that is used to calculate color transitions. |
|
inline |
Creates the new instance of the class.
cs | the PdfColorSpace object in which colour values shall be expressed. The special Pattern space isn't excepted. |
coords | the iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1] that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space. |
domain | the iText.Kernel.Pdf.PdfArray of two numbers [t0 t1] specifying the limiting values of a parametric variable t which is considered to vary linearly between these two values and becomes the input argument to the colour function. |
function | the iText.Kernel.Pdf.Function.IPdfFunction object, that is used to calculate color transitions. |
|
inlinevirtual |
Gets the Coords object - a iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1] that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space.
|
inlinevirtual |
Gets the iText.Kernel.Pdf.PdfArray of two float
[t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s).
|
inlinevirtual |
Gets the iText.Kernel.Pdf.PdfArray of two boolean
that specified whether to extend the shading beyond the starting and ending points of the axis, respectively.
|
inlinevirtual |
Sets the Choords object with the four params expressed in the shading's target coordinate space.
x0 | the start coordinate of X axis to be set. |
y0 | the start coordinate of Y axis to be set. |
x1 | the end coordinate of X axis to be set. |
y1 | the end coordinate of Y axis to be set. |
|
inlinevirtual |
Sets the Choords object with the iText.Kernel.Pdf.PdfArray of four numbers [x0 y0 x1 y1], that specified the starting and the endings coordinates of thew axis, expressed in the shading's target coordinate space.
coords | the Chords iText.Kernel.Pdf.PdfArray to be set. |
|
inlinevirtual |
Sets the Domain with the array of two float
[t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s).
t0 | first limit of variable t |
t1 | second limit of variable t |
|
inlinevirtual |
Sets the Domain with the iText.Kernel.Pdf.PdfArray of two float
[t0, t1] that represent the limiting values of a parametric variable t, that becomes an input of color function(s).
domain | the iText.Kernel.Pdf.PdfArray that represents domain |
|
inlinevirtual |
Sets the Extend object with the two boolean
value.
extendStart | if true will extend shading beyond the starting point of Coords |
extendEnd | if true will extend shading beyond the ending point of Coords |
|
inlinevirtual |
Sets the Extend object with the iText.Kernel.Pdf.PdfArray of two boolean
.
Sets the Extend object with the iText.Kernel.Pdf.PdfArray of two boolean
. If first is true shading will extend beyond the starting point of Coords. If second is true shading will extend beyond the ending point of Coords.
extend | the iText.Kernel.Pdf.PdfArray representing Extend object |