Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.contentstream.operator |
This package contains implementations of all of the PDF operators.
|
org.apache.pdfbox.contentstream.operator.color | |
org.apache.pdfbox.contentstream.operator.graphics |
This package contains implementations of all of the PDF graphics operators.
|
org.apache.pdfbox.contentstream.operator.markedcontent | |
org.apache.pdfbox.contentstream.operator.state | |
org.apache.pdfbox.contentstream.operator.text |
Modifier and Type | Method | Description |
---|---|---|
void |
PDFStreamEngine.addOperator(OperatorProcessor op) |
Adds an operator processor to the engine.
|
void |
PDFStreamEngine.registerOperatorProcessor(java.lang.String operator,
OperatorProcessor op) |
Deprecated.
Use
PDFStreamEngine.addOperator(OperatorProcessor) instead |
Modifier and Type | Class | Description |
---|---|---|
class |
DrawObject |
Do: Draws an XObject.
|
Modifier and Type | Class | Description |
---|---|---|
class |
SetColor |
sc,scn,SC,SCN: Sets the color to use for stroking or non-stroking operations.
|
class |
SetNonStrokingColor |
sc: Sets the colour to use for non-stroking operations.
|
class |
SetNonStrokingColorN |
scn: Sets the colour to use for non-stroking operations.
|
class |
SetNonStrokingColorSpace |
cs: Sets the non-stroking color space.
|
class |
SetNonStrokingDeviceCMYKColor |
k: Set the non-stroking colour space to DeviceCMYK and set the colour to
use for non-stroking operations.
|
class |
SetNonStrokingDeviceGrayColor |
g: Set the non-stroking colour space to DeviceGray and set the gray
level to use for non-stroking operations.
|
class |
SetNonStrokingDeviceRGBColor |
rg: Set the non-stroking colour space to DeviceRGB and set the colour to
use for non-stroking operations.
|
class |
SetStrokingColor |
SC: Sets the colour to use for stroking stroking operations.
|
class |
SetStrokingColorN |
SCN: Sets the colour to use for stroking stroking operations.
|
class |
SetStrokingColorSpace |
CS: Set color space for stroking operations.
|
class |
SetStrokingDeviceCMYKColor |
K: Set the stroking colour space to DeviceCMYK and set the colour to use for stroking operations.
|
class |
SetStrokingDeviceGrayColor |
G: Set the stroking colour space to DeviceGray and set the gray level to use for stroking
operations.
|
class |
SetStrokingDeviceRGBColor |
RG: Set the stroking colour space to DeviceRGB and set the colour to use for stroking operations.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AppendRectangleToPath |
re Appends a rectangle to the path.
|
class |
BeginInlineImage |
BI Begins an inline image.
|
class |
ClipEvenOddRule |
W* Set clipping path using even odd rule.
|
class |
ClipNonZeroRule |
W Set the clipping path using non zero winding rule.
|
class |
CloseAndStrokePath |
s: close and stroke the path.
|
class |
CloseFillEvenOddAndStrokePath |
b* Close, fill and stroke the path with even-odd winding rule.
|
class |
CloseFillNonZeroAndStrokePath |
b Close, fill and stroke the path with non-zero winding rule.
|
class |
ClosePath |
h Close the path.
|
class |
CurveTo |
c Append curved segment to path.
|
class |
CurveToReplicateFinalPoint |
y Append curved segment to path with final point replicated.
|
class |
CurveToReplicateInitialPoint |
v Append curved segment to path with the initial point replicated.
|
class |
DrawObject |
Do: Draws an XObject.
|
class |
EndPath |
n End the path.
|
class |
FillEvenOddAndStrokePath |
B* Fill and then stroke the path, using the even-odd rule to determine the region to fill.
|
class |
FillEvenOddRule |
f* Fill path using even odd rule.
|
class |
FillNonZeroAndStrokePath |
B Fill and then stroke the path, using the nonzero winding number rule to determine the region
to fill.
|
class |
FillNonZeroRule |
f Fill path using non zero winding rule.
|
class |
GraphicsOperatorProcessor |
Base class for graphics operators.
|
class |
LegacyFillNonZeroRule |
F Fill path using non zero winding rule.
|
class |
LineTo |
l Append straight line segment to path.
|
class |
MoveTo |
m Begins a new subpath.
|
class |
ShadingFill |
sh Fills the clipping area with the given shading pattern.
|
class |
StrokePath |
S Stroke the path.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BeginMarkedContentSequence |
BMC : Begins a marked-content sequence.
|
class |
BeginMarkedContentSequenceWithProperties |
BDC : Begins a marked-content sequence with property list.
|
class |
DrawObject |
Do: Draws an XObject.
|
class |
EndMarkedContentSequence |
EMC : Ends a marked-content sequence begun by BMC or BDC.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Concatenate |
cm: Concatenate matrix to current transformation matrix.
|
class |
Restore |
Q: Restore the graphics state.
|
class |
Save |
q: Save the graphics state.
|
class |
SetFlatness |
i: Set the flatness tolerance.
|
class |
SetGraphicsStateParameters |
gs: Set parameters from graphics state parameter dictionary.
|
class |
SetLineCapStyle |
J: Set the line cap style.
|
class |
SetLineDashPattern |
d: Set the line dash pattern.
|
class |
SetLineJoinStyle |
j: Set the line join style.
|
class |
SetLineMiterLimit |
M: Set miter limit.
|
class |
SetLineWidth |
w: Set line width.
|
class |
SetMatrix |
Tm: Set text matrix and text line matrix.
|
class |
SetRenderingIntent |
ri: Set the rendering intent.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BeginText |
BT: Begin text.
|
class |
EndText |
ET: End text.
|
class |
MoveText |
Td: Move text position.
|
class |
MoveTextSetLeading |
TD: Move text position and set leading.
|
class |
NextLine |
T*: Move to start of next text line.
|
class |
SetCharSpacing |
Tc: Set character spacing.
|
class |
SetFontAndSize |
Tf: Set text font and size.
|
class |
SetTextHorizontalScaling |
Tz: Set horizontal text scaling.
|
class |
SetTextLeading |
TL: Set text leading.
|
class |
SetTextRenderingMode |
Tr: Set text rendering mode.
|
class |
SetTextRise |
Ts: Set text rise.
|
class |
SetWordSpacing |
Tw: Set word spacing.
|
class |
ShowText |
Tj: Show text.
|
class |
ShowTextAdjusted |
TJ: Show text, with position adjustments.
|
class |
ShowTextLine |
': Move to the next line and show text.
|
class |
ShowTextLineAndSpace |
": Set word and character spacing, move to next line, and show text.
|
Copyright © 2002–2018. All rights reserved.