public static class PdfPattern.Tiling extends PdfPattern
Modifier and Type | Class and Description |
---|---|
static class |
PdfPattern.Tiling.PaintType |
static class |
PdfPattern.Tiling.TilingType |
PdfPattern.Shading, PdfPattern.Tiling
Constructor and Description |
---|
Tiling(float width, float height) |
Tiling(float width, float height, boolean colored) |
Tiling(float width, float height, float xStep, float yStep) |
Tiling(float width, float height, float xStep, float yStep, boolean colored) |
Tiling(PdfStream pdfObject) |
Tiling(Rectangle bbox) |
Tiling(Rectangle bbox, boolean colored) |
Tiling(Rectangle bbox, float xStep, float yStep) |
Tiling(Rectangle bbox, float xStep, float yStep, boolean colored) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e.
|
Rectangle |
getBBox() |
PdfResources |
getResources() |
int |
getTilingType() |
float |
getXStep() |
float |
getYStep() |
boolean |
isColored() |
void |
setBBox(Rectangle bbox) |
void |
setColored(boolean colored) |
void |
setTilingType(int tilingType) |
void |
setXStep(float xStep) |
void |
setYStep(float yStep) |
getMatrix, getPatternInstance, isWrappedObjectMustBeIndirect, setMatrix
ensureObjectIsAddedToDocument, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public Tiling(PdfStream pdfObject)
public Tiling(float width, float height)
public Tiling(float width, float height, boolean colored)
public Tiling(Rectangle bbox)
public Tiling(Rectangle bbox, boolean colored)
public Tiling(float width, float height, float xStep, float yStep)
public Tiling(float width, float height, float xStep, float yStep, boolean colored)
public Tiling(Rectangle bbox, float xStep, float yStep)
public Tiling(Rectangle bbox, float xStep, float yStep, boolean colored)
public boolean isColored()
public void setColored(boolean colored)
public int getTilingType()
public void setTilingType(int tilingType)
public Rectangle getBBox()
public void setBBox(Rectangle bbox)
public float getXStep()
public void setXStep(float xStep)
public float getYStep()
public void setYStep(float yStep)
public PdfResources getResources()
public void flush()
PdfPattern
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 PdfObjectWrapper.makeIndirect(PdfDocument)
. For example: wrapperInstance.makeIndirect(document).flush(); Note that not every wrapper require this, only those that have such warning in documentation.
flush
in class PdfPattern
Copyright © 1998–2016 iText Group NV. All rights reserved.