Pdf |
The PdfTilingPattern type exposes the following members.
Name | Description | |
---|---|---|
PdfTilingPattern | Create ne tilinig pattern object. |
Name | Description | |
---|---|---|
BoundingBox | Gets or sets a rectangle in the pattern coordinate system giving the coordinates of the left, bottom, right, and top edges, respectively, of the pattern cell’s bounding box. These boundaries are used to clip the pattern cell. | |
Colored | Gets or sets flag indicating whether the given pattern is colored or not. | |
Content | Gets the collection of the page objects that represents the pattern cell. | |
Step | Gets or sets the desired horizontal and vertical spacing between pattern cells, measured in the pattern coordinate system. | |
Stream | Gets the internal pattern object. | |
TilingType | Gets or sets a code that controls adjustments to the spacing of tiles relative to the device pixel grid. |
Name | Description | |
---|---|---|
CalcBoundingBox | Calculate bounding box | |
GenerateContent | Generate content of this pattern object. |
Colored tiling pattern. The pattern's content stream specifies the colors used to paint the pattern cell. When the content stream begins execution, the current color is the one that was initially in effect in the pattern's parent content stream.
Uncolored tiling pattern. The pattern’s content stream does not specify any color information. Instead, the entire pattern cell is painted with a separately specified color each time the pattern is used. Essentially, the content stream describes a stencil through which the current color is to be poured. The content stream must not invoke operators that specify colors or other color-related parameters in the graphics state; otherwise, an error occurs. The content stream may paint an image mask, however, since it does not specify any color information.
Note that Step may differ from the dimensions of the pattern cell implied by the BoundingBox property. This allows tiling with irregularly shaped figures. Width and Height may be either positive or negative but not zero.
A pattern’s appearance is described with respect to its own internal coordinate system. Every pattern has a Matrix property, a transformation matrix that maps the pattern’s internal coordinate system to the default coordinate system of the pattern's parent content stream (the content stream in which the pattern is defined as a resource). The concatenation of the Matrix with that of the parent content stream establishes the pattern coordinate space, within which all graphics objects in the pattern are interpreted.