Package org.apache.fop.render.pdf
Class PDFGraphicsPainter.PDFContentGeneratorHelper
- java.lang.Object
-
- org.apache.fop.render.pdf.PDFGraphicsPainter.PDFContentGeneratorHelper
-
- Enclosing class:
- PDFGraphicsPainter
private static class PDFGraphicsPainter.PDFContentGeneratorHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private PDFContentGenerator
generator
-
Constructor Summary
Constructors Constructor Description PDFContentGeneratorHelper(PDFContentGenerator generator)
-
Method Summary
-
-
-
Field Detail
-
generator
private final PDFContentGenerator generator
-
-
Constructor Detail
-
PDFContentGeneratorHelper
public PDFContentGeneratorHelper(PDFContentGenerator generator)
-
-
Method Detail
-
moveTo
public PDFGraphicsPainter.PDFContentGeneratorHelper moveTo(int x, int y)
-
lineTo
public PDFGraphicsPainter.PDFContentGeneratorHelper lineTo(int x, int y)
-
cubicBezierTo
public PDFGraphicsPainter.PDFContentGeneratorHelper cubicBezierTo(int p1x, int p1y, int p2x, int p2y, int p3x, int p3y)
-
closePath
public PDFGraphicsPainter.PDFContentGeneratorHelper closePath()
-
clip
public PDFGraphicsPainter.PDFContentGeneratorHelper clip()
-
clipRect
public PDFGraphicsPainter.PDFContentGeneratorHelper clipRect(java.awt.Rectangle rectangle)
-
saveGraphicsState
public PDFGraphicsPainter.PDFContentGeneratorHelper saveGraphicsState()
-
restoreGraphicsState
public PDFGraphicsPainter.PDFContentGeneratorHelper restoreGraphicsState()
-
setSolidLine
public PDFGraphicsPainter.PDFContentGeneratorHelper setSolidLine()
-
setRoundCap
public PDFGraphicsPainter.PDFContentGeneratorHelper setRoundCap()
-
strokeLine
public PDFGraphicsPainter.PDFContentGeneratorHelper strokeLine(float xStart, float yStart, float xEnd, float yEnd)
-
fillRect
public PDFGraphicsPainter.PDFContentGeneratorHelper fillRect(int xStart, int yStart, int xEnd, int yEnd)
-
fillRidge
public PDFGraphicsPainter.PDFContentGeneratorHelper fillRidge(RuleStyle style, int xStart, int yStart, int xEnd, int yEnd, int half)
-
setLineWidth
public PDFGraphicsPainter.PDFContentGeneratorHelper setLineWidth(float width)
-
setDashLine
public PDFGraphicsPainter.PDFContentGeneratorHelper setDashLine(float first, float... rest)
-
setColor
public PDFGraphicsPainter.PDFContentGeneratorHelper setColor(java.awt.Color col)
-
setFillColor
public PDFGraphicsPainter.PDFContentGeneratorHelper setFillColor(java.awt.Color col)
-
transformFloatCoordinates
public PDFGraphicsPainter.PDFContentGeneratorHelper transformFloatCoordinates(float a, float b, float c, float d, float e, float f)
-
transformCoordinates
public PDFGraphicsPainter.PDFContentGeneratorHelper transformCoordinates(int a, int b, int c, int d, int e, int f)
-
transformCoordinatesLine
public PDFGraphicsPainter.PDFContentGeneratorHelper transformCoordinatesLine(int a, int b, int c, int d, int e, int f)
-
add
public PDFGraphicsPainter.PDFContentGeneratorHelper add(java.lang.String op)
-
add
private PDFGraphicsPainter.PDFContentGeneratorHelper add(java.lang.String op, java.lang.String... args)
-
addLine
public PDFGraphicsPainter.PDFContentGeneratorHelper addLine(java.lang.String op)
-
addLine
public PDFGraphicsPainter.PDFContentGeneratorHelper addLine(java.lang.String op, java.lang.String... args)
-
add
private PDFGraphicsPainter.PDFContentGeneratorHelper add(java.lang.String op, float... args)
-
addLine
public PDFGraphicsPainter.PDFContentGeneratorHelper addLine(java.lang.String op, float... args)
-
createArgs
private java.lang.StringBuilder createArgs(float... args)
-
createArgs
private java.lang.StringBuilder createArgs(java.lang.String... args)
-
add
private void add(java.lang.StringBuilder args, java.lang.String op)
-
addLine
private void addLine(java.lang.StringBuilder args, java.lang.String op)
-
-