Top Description Fields Constructors Methods
org.apache.pdfbox.contentstream.operator.graphics

public Class LineTo

extends GraphicsOperatorProcessor
Class Inheritance
Imports
java.io.IOException, java.util.List, java.awt.geom.Point2D, org.apache.commons.logging.Log, .LogFactory, org.apache.pdfbox.contentstream.PDFGraphicsStreamEngine, org.apache.pdfbox.contentstream.operator.MissingOperandException, .Operator, .OperatorName, org.apache.pdfbox.cos.COSBase, .COSNumber

l Append straight line segment to path.
Author
Ben Litchfield

Field Summary

Modifier and TypeField and Description
private static final Log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Returns the name of this operator, e.g. "BI".

public void
process(Operator
the operator to process
operator
,
List<COSBase>
the operands to use when processing
operands
)

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.process.

Process the operator.

Inherited from org.apache.pdfbox.contentstream.operator.graphics.GraphicsOperatorProcessor:
getGraphicsContext

Field Detail

LOGback to summary
private static final Log LOG

Constructor Detail

LineToback to summary
public LineTo(PDFGraphicsStreamEngine context)

Method Detail

getNameback to summary
public String getName()

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Doc from org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Returns the name of this operator, e.g. "BI".

Returns:String

the name of the operator

Annotations
@Override
processback to summary
public void process(Operator operator, List<COSBase> operands) throws IOException

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.process.

Doc from org.apache.pdfbox.contentstream.operator.OperatorProcessor.process.

Process the operator.

Parameters
operator:Operator

the operator to process

operands:List<COSBase>

the operands to use when processing

Annotations
@Override
Exceptions
IOException:
if the operator cannot be processed