public static class PdfSpecialCs.UncoloredTilingPattern extends PdfSpecialCs.Pattern
directColorSpaces
Constructor and Description |
---|
UncoloredTilingPattern(PdfArray pdfObject) |
UncoloredTilingPattern(PdfColorSpace underlyingColorSpace) |
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.
|
int |
getNumberOfComponents() |
PdfColorSpace |
getUnderlyingColorSpace() |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
makeColorSpace
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public UncoloredTilingPattern(PdfArray pdfObject)
public UncoloredTilingPattern(PdfColorSpace underlyingColorSpace)
public void flush()
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 PdfObjectWrapper<PdfObject>
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfSpecialCs.Pattern
public int getNumberOfComponents()
getNumberOfComponents
in class PdfSpecialCs.Pattern
public PdfColorSpace getUnderlyingColorSpace()
Copyright © 1998–2017 iText Group NV. All rights reserved.