it.stefanochizzolini.clown.documents.contents.objects
Class Operation
java.lang.Object
it.stefanochizzolini.clown.documents.contents.objects.ContentObject
it.stefanochizzolini.clown.documents.contents.objects.Operation
- Direct Known Subclasses:
- BeginInlineImage, BeginMarkedContent, BeginSubpath, BeginText, CloseSubpath, DrawCurve, DrawLine, DrawRectangle, EndInlineImage, EndMarkedContent, EndText, GenericOperation, InlineImageBody, InlineImageHeader, ModifyClipPath, ModifyClipPathEvenOdd, ModifyCTM, PaintPath, PaintShading, PaintXObject, RestoreGraphicsState, SaveGraphicsState, SetCharSpace, SetExtGState, SetFillColor, SetFillColorSpace, SetFont, SetLineCap, SetLineDash, SetLineJoin, SetLineWidth, SetMiterLimit, SetStrokeColor, SetStrokeColorSpace, SetTextLead, SetTextMatrix, SetTextRenderMode, SetTextRise, SetTextScale, SetWordSpace, ShowText, TranslateTextRelative, TranslateTextToNextLine
public abstract class Operation
- extends ContentObject
Content stream instruction [PDF:1.6:3.7.1].
- Since:
- 0.0.2
- Version:
- 0.0.8
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class it.stefanochizzolini.clown.documents.contents.objects.ContentObject |
applyTo |
operator
protected String operator
operands
protected List<PdfDirectObject> operands
Operation
protected Operation(String operator)
Operation
protected Operation(String operator,
PdfDirectObject operand)
Operation
protected Operation(String operator,
PdfDirectObject... operands)
Operation
protected Operation(String operator,
List<PdfDirectObject> operands)
get
public static Operation get(String operator,
List<PdfDirectObject> operands)
- Gets a specific operation.
- Parameters:
operator
- Operator.operands
- List of operands.
- Returns:
- Operation associated to the operator.
- Since:
- 0.0.4
getOperator
public String getOperator()
getOperands
public List<PdfDirectObject> getOperands()
toString
public String toString()
- Overrides:
toString
in class Object
writeTo
public void writeTo(IOutputStream stream)
- Description copied from class:
ContentObject
- Writes PDF representation of the object to the target buffer.
- Specified by:
writeTo
in class ContentObject
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.