iText 8.0.5 API
|
Wrapper that represents tiling pattern of color space. More...
Classes |
|
class | PaintType |
A code that determines how the colour of the pattern cell shall be specified More... |
|
class | TilingType |
A code that controls adjustments to the spacing of tiles relative to the device pixel grid More... |
|
Public Member Functions |
|
Tiling (PdfStream pdfObject) | |
Creates new instance from the iText.Kernel.Pdf.PdfStream object. More... |
|
Tiling (float width, float height) | |
Creates a new Tiling Pattern instance. More... |
|
Tiling (float width, float height, bool colored) | |
Creates a new Tiling Pattern instance. More... |
|
Tiling (Rectangle bbox) | |
Creates a new Tiling instance. More... |
|
Tiling (Rectangle bbox, bool colored) | |
Creates a new Tiling instance. More... |
|
Tiling (float width, float height, float xStep, float yStep) | |
Creates a new Tiling Pattern instance. More... |
|
Tiling (float width, float height, float xStep, float yStep, bool colored) | |
Creates a new Tiling Pattern instance. More... |
|
Tiling (Rectangle bbox, float xStep, float yStep) | |
Creates a new Tiling instance. More... |
|
Tiling (Rectangle bbox, float xStep, float yStep, bool colored) | |
Creates a new Tiling instance. More... |
|
virtual bool | IsColored () |
Checks if this pattern have colored paint type. More... |
|
virtual void | SetColored (bool colored) |
Sets the paint type. More... |
|
virtual int | GetTilingType () |
Gets the tiling type. More... |
|
virtual void | SetTilingType (int tilingType) |
Sets the tiling type. More... |
|
virtual Rectangle | GetBBox () |
Gets the pattern cell's bounding box. More... |
|
virtual void | SetBBox (Rectangle bbox) |
Sets the pattern cell's bounding box. More... |
|
virtual float | GetXStep () |
Gets the desired horizontal space between pattern cells. More... |
|
virtual void | SetXStep (float xStep) |
Sets the desired horizontal space between pattern cells. More... |
|
virtual float | GetYStep () |
Gets the desired vertical space between pattern cells. More... |
|
virtual void | SetYStep (float yStep) |
Sets the desired vertical space between pattern cells. More... |
|
virtual PdfResources | GetResources () |
Gets the Tiling Pattern's resources. 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.Colorspace.PdfPattern | |
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... |
|
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 () |
Additional Inherited Members |
|
Static Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfPattern | |
static iText.Kernel.Pdf.Colorspace.PdfPattern | GetPatternInstance (PdfDictionary pdfObject) |
Creates the instance wrapper of correct type from the iText.Kernel.Pdf.PdfDictionary More... |
|
Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfPattern | |
PdfPattern (PdfDictionary pdfObject) | |
Wraps the passed iText.Kernel.Pdf.PdfDictionary. 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 () |
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... |
|
Wrapper that represents tiling pattern of color space.
Wrapper that represents tiling pattern of color space. This pattern consists of a small graphical figure (cells). Painting with the pattern replicates the cell at fixed horizontal and vertical intervals to fill an area. The pattern cell can include graphical elements such as filled areas, text, and sampled images. Its shape need not be rectangular, and the spacing of tiles can differ from the dimensions of the cell itself. The appearance of the pattern cell shall be defined by a content stream containing the painting operators needed to paint one instance of the cell
|
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 1.
pdfObject | the iText.Kernel.Pdf.PdfStream that represents Tiling Pattern. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Creates a new Tiling Pattern instance.
Creates a new Tiling Pattern instance.
By default the pattern will be colored.
width | the width of the pattern cell's bounding box |
height | the height of the pattern cell's bounding box |
xStep | the desired horizontal space between pattern cells |
yStep | the desired vertical space between pattern cells |
|
inline |
Creates a new Tiling Pattern instance.
width | the width of the pattern cell's bounding box |
height | the height of the pattern cell's bounding box |
xStep | the desired horizontal space between pattern cells |
yStep | the desired vertical space between pattern cells |
colored | defines whether the Tiling Pattern will be colored or not |
|
inline |
|
inline |
|
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.
Reimplemented from iText.Kernel.Pdf.Colorspace.PdfPattern.
|
inlinevirtual |
Gets the pattern cell's bounding box.
Gets the pattern cell's bounding box. These boundaries shall be used to clip the pattern cell.
|
inlinevirtual |
|
inlinevirtual |
Gets the tiling type.
|
inlinevirtual |
Gets the desired horizontal space between pattern cells.
|
inlinevirtual |
Gets the desired vertical space between pattern cells.
|
inlinevirtual |
Checks if this pattern have colored paint type.
true
if this pattern's paint type is PaintType.COLORED and false
otherwise.
|
inlinevirtual |
Sets the pattern cell's bounding box.
Sets the pattern cell's bounding box. These boundaries shall be used to clip the pattern cell.
bbox | pattern cell's bounding box to set. |
|
inlinevirtual |
Sets the paint type.
colored | if true then the paint type will be set as PaintType.COLORED , and PaintType.UNCOLORED otherwise. |
|
inlinevirtual |
Sets the tiling type.
tilingType | int value of TilingType to set. |
|
inlinevirtual |
Sets the desired horizontal space between pattern cells.
xStep | the desired horizontal space between pattern cells |
|
inlinevirtual |
Sets the desired vertical space between pattern cells.
yStep | the desired vertical space between pattern cells |