org.pdfclown.documents.contents.colorSpaces.Pattern Class Reference
Paint that consists of a repeating graphical figure or a smoothly varying color gradient instead of a simple color [PDF:1.6:4.6].
More...
List of all members.
Public Member Functions |
| virtual object | Clone (Document context) |
| | Gets a clone of the object, registered inside the given document context.
|
| override object | Clone (Document context) |
| virtual bool | Delete () |
| | Removes the object from its document context.
|
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Static Public Member Functions |
| static PdfDirectObject | GetBaseObject (PdfObjectWrapper wrapper) |
| | Gets the PDF object backing the specified wrapper.
|
| static Pattern | Wrap (PdfDirectObject baseObject) |
| | Wraps the specified base object into a pattern object.
|
Static Public Attributes |
| static readonly Pattern | Default = new TilingPattern(null) |
Protected Member Functions |
| void | CheckCompatibility (object feature) |
| | Checks whether the specified feature is compatible with the document's conformance version.
|
| | Pattern (PatternColorSpace colorSpace, PdfDirectObject baseObject) |
| | Pattern (PdfDirectObject baseObject) |
| virtual PdfString | RetrieveName () |
| | Retrieves the name possibly associated to this object, walking through the document's name dictionary.
|
| PdfDirectObject | RetrieveNamedBaseObject () |
| | Retrieves the object name, if available; otherwise, behaves like PdfObjectWrapper.BaseObject.
|
Static Protected Member Functions |
| static double | NormalizeComponent (double value) |
| | Gets the normalized value of a color component [PDF:1.6:4.5.1].
|
Properties |
| virtual PdfDirectObject | BaseObject [get, set] |
| ColorSpace | ColorSpace [get] |
| override IList< PdfDirectObject > | Components [get] |
| | Gets the components defining this color value.
|
| PdfIndirectObject | Container [get] |
| | Gets the indirect object containing the base object.
|
| PdfIndirectObject | DataContainer [get] |
| | Gets the indirect object containing the base data object.
|
| PdfDictionary | Dictionary [get] |
| | Gets this pattern's dictionary.
|
| Document | Document [get] |
| | Gets the document context.
|
| File | File [get] |
| | Gets the file context.
|
| double[] | Matrix [get] |
| | 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).
|
Paint that consists of a repeating graphical figure or a smoothly varying color gradient instead of a simple color [PDF:1.6:4.6].
Constructor & Destructor Documentation
| org.pdfclown.documents.contents.colorSpaces.Pattern.Pattern |
( |
PdfDirectObject |
baseObject |
) |
[protected] |
Member Function Documentation
| void org.pdfclown.objects.PdfObjectWrapper.CheckCompatibility |
( |
object |
feature |
) |
[protected, inherited] |
Checks whether the specified feature is compatible with the document's conformance version.
- Parameters:
-
| feature | Entity whose compatibility has to be checked. Supported types:
|
| virtual object org.pdfclown.objects.PdfObjectWrapper.Clone |
( |
Document |
context |
) |
[virtual, inherited] |
Gets a clone of the object, registered inside the given document context.
- Parameters:
-
| context | Which document the clone has to be registered in. |
| override object org.pdfclown.documents.contents.colorSpaces.Pattern.Clone |
( |
Document |
context |
) |
|
| virtual bool org.pdfclown.objects.PdfObjectWrapper.Delete |
( |
|
) |
[virtual, inherited] |
Removes the object from its document context.
The object is no more usable after this method returns.
- Returns:
- Whether the object was actually decontextualized (only indirect objects can be decontextualize).
| override bool org.pdfclown.objects.PdfObjectWrapper.Equals |
( |
object |
obj |
) |
[inherited] |
Gets the PDF object backing the specified wrapper.
- Parameters:
-
| wrapper | Object to extract the base from. |
| override int org.pdfclown.objects.PdfObjectWrapper.GetHashCode |
( |
|
) |
[inherited] |
| static double org.pdfclown.documents.contents.colorSpaces.Color.NormalizeComponent |
( |
double |
value |
) |
[static, protected, inherited] |
Gets the normalized value of a color component [PDF:1.6:4.5.1].
- Parameters:
-
| value | Color component value to normalize. |
- Returns:
- Normalized color component value.
| virtual PdfString org.pdfclown.objects.PdfObjectWrapper.RetrieveName |
( |
|
) |
[protected, virtual, inherited] |
Retrieves the name possibly associated to this object, walking through the document's name dictionary.
| PdfDirectObject org.pdfclown.objects.PdfObjectWrapper.RetrieveNamedBaseObject |
( |
|
) |
[protected, inherited] |
Retrieves the object name, if available; otherwise, behaves like PdfObjectWrapper.BaseObject.
| static Pattern org.pdfclown.documents.contents.colorSpaces.Pattern.Wrap |
( |
PdfDirectObject |
baseObject |
) |
[static] |
Member Data Documentation
Property Documentation
virtual PdfDirectObject org.pdfclown.objects.PdfObjectWrapper.BaseObject [get, set, inherited] |
Gets the underlying reference object, if available; otherwise, gets the underlying data object.
ColorSpace org.pdfclown.documents.contents.colorSpaces.Color.ColorSpace [get, inherited] |
override IList<PdfDirectObject> org.pdfclown.documents.contents.colorSpaces.Pattern.Components [get] |
PdfIndirectObject org.pdfclown.objects.PdfObjectWrapper.Container [get, inherited] |
Gets the indirect object containing the base object.
PdfIndirectObject org.pdfclown.objects.PdfObjectWrapper.DataContainer [get, inherited] |
Gets the indirect object containing the base data object.
PdfDictionary org.pdfclown.documents.contents.colorSpaces.Pattern.Dictionary [get, protected] |
Gets this pattern's dictionary.
Document org.pdfclown.objects.PdfObjectWrapper.Document [get, inherited] |
Gets the document context.
File org.pdfclown.objects.PdfObjectWrapper.File [get, inherited] |
double [] org.pdfclown.documents.contents.colorSpaces.Pattern.Matrix [get] |
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).
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.