iText 7 7.1.8 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. This stream should have PatternType equals to 1. More... |
|
Tiling (float width, float height) | |
Tiling (float width, float height, bool colored) | |
Tiling (Rectangle bbox) | |
Tiling (Rectangle bbox, bool colored) | |
Tiling (float width, float height, float xStep, float yStep) | |
Tiling (float width, float height, float xStep, float yStep, bool colored) | |
Tiling (Rectangle bbox, float xStep, float yStep) | |
Tiling (Rectangle bbox, float xStep, float yStep, bool colored) | |
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 () |
virtual void | SetXStep (float xStep) |
virtual float | GetYStep () |
virtual void | SetYStep (float yStep) |
virtual PdfResources | GetResources () |
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. Basically this means that before flushing you need to explicitly call iText.Kernel.Pdf.PdfObjectWrapper |
|
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... |
|
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. This stream should have PatternType equals to 1.
pdfObject | the iText.Kernel.Pdf.PdfStream that represents Tiling Pattern. |
|
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. Basically this means that before flushing you need to explicitly call iText.Kernel.Pdf.PdfObjectWrapper
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 |
Gets the tiling type.
|
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. |
System.ArgumentException | in case of wrong value. |