org.pdfclown.documents.contents.objects.DrawLine Class Reference

'Append a straight line segment from the current point' operation [PDF:1.6:4.4.1]. More...

Inheritance diagram for org.pdfclown.documents.contents.objects.DrawLine:
org.pdfclown.documents.contents.objects.Operation org.pdfclown.documents.contents.objects.ContentObject

List of all members.

Public Member Functions

 DrawLine (IList< PdfDirectObject > operands)
 DrawLine (double pointX, double pointY)
 DrawLine (PointF point)
override void Scan (ContentScanner.GraphicsState state)
 Applies this object to the specified graphics context, updating the specified graphics state.
override string ToString ()
override void WriteTo (IOutputStream stream, Document context)
 Serializes this object to the specified stream.

Static Public Member Functions

static Operation Get (string operator_, IList< PdfDirectObject > operands)
 Gets an operation.

Static Public Attributes

static readonly string OperatorKeyword = "l"

Protected Attributes

IList< PdfDirectObjectoperands
string operator_

Properties

IList< PdfDirectObjectOperands [get]
string Operator [get]
PointF Point [get, set]
 Gets/Sets the final endpoint.

'Append a straight line segment from the current point' operation [PDF:1.6:4.4.1].


Constructor & Destructor Documentation

org.pdfclown.documents.contents.objects.DrawLine.DrawLine ( PointF  point  ) 
Parameters:
point Final endpoint.
org.pdfclown.documents.contents.objects.DrawLine.DrawLine ( double  pointX,
double  pointY 
)
Parameters:
pointX Final endpoint X.
pointY Final endpoint Y.
org.pdfclown.documents.contents.objects.DrawLine.DrawLine ( IList< PdfDirectObject operands  ) 

Member Function Documentation

static Operation org.pdfclown.documents.contents.objects.Operation.Get ( string  operator_,
IList< PdfDirectObject operands 
) [static, inherited]

Gets an operation.

Parameters:
operator_ Operator.
operands List of operands.
override void org.pdfclown.documents.contents.objects.DrawLine.Scan ( ContentScanner.GraphicsState  state  )  [virtual]

Applies this object to the specified graphics context, updating the specified graphics state.

Parameters:
state Graphics state.

Reimplemented from org.pdfclown.documents.contents.objects.ContentObject.

override string org.pdfclown.documents.contents.objects.Operation.ToString (  )  [inherited]
override void org.pdfclown.documents.contents.objects.Operation.WriteTo ( IOutputStream  stream,
Document  context 
) [virtual, inherited]

Member Data Documentation


Property Documentation

IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.Operands [get, inherited]
string org.pdfclown.documents.contents.objects.Operation.Operator [get, inherited]
PointF org.pdfclown.documents.contents.objects.DrawLine.Point [get, set]

Gets/Sets the final endpoint.

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:08:34 2013 for PDF Clown 0.1.2 by  doxygen 1.6.3