|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.contents.colorSpaces.Color<TDataObject>
org.pdfclown.documents.contents.colorSpaces.Pattern<TDataObject>
@PDF(value=PDF12) public abstract class Pattern<TDataObject extends PdfDataObject>
Paint that consists of a repeating graphical figure or a smoothly varying color gradient instead of a simple color [PDF:1.6:4.6].
Field Summary | |
---|---|
static Pattern<?> |
Default
|
Constructor Summary | |
---|---|
protected |
Pattern(PatternColorSpace colorSpace,
PdfDirectObject baseObject)
|
protected |
Pattern(PdfDirectObject baseObject)
|
Method Summary | |
---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
List<PdfDirectObject> |
getComponents()
Gets the components defining this color value. |
protected PdfDictionary |
getDictionary()
Gets this pattern's dictionary. |
double[] |
getMatrix()
Gets the pattern matrix, 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). |
static Pattern<?> |
wrap(PdfDirectObject baseObject)
Wraps the specified base object into a pattern object. |
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.Color |
---|
getColorSpace, normalizeComponent |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Pattern<?> Default
Constructor Detail |
---|
protected Pattern(PdfDirectObject baseObject)
protected Pattern(PatternColorSpace colorSpace, PdfDirectObject baseObject)
Method Detail |
---|
public static Pattern<?> wrap(PdfDirectObject baseObject)
baseObject
- Base object of a pattern object.
public Object clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<TDataObject extends PdfDataObject>
context
- Which document the clone has to be registered in.public List<PdfDirectObject> getComponents()
Color
getComponents
in class Color<TDataObject extends PdfDataObject>
public double[] getMatrix()
The concatenation of the pattern matrix with that of the parent content stream establishes the pattern coordinate space, within which all graphics objects in the pattern are interpreted.
protected final PdfDictionary getDictionary()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |