Interface PathFactory
-
- All Known Implementing Classes:
DefaultFactories
public interface PathFactory
-
-
Field Summary
Fields Modifier and Type Field Description static int
PDFBevelJoin
static int
PDFButtLineCap
Line style constants.static int
PDFMiterJoin
static int
PDFRoundJoin
static int
PDFRoundLineCap
static int
PDFSquareLineCap
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.geom.GeneralPath
createEmptyPath()
Initialize and return a new empty path.java.awt.Stroke
createStroke(PDFGState g)
Create a Stroke object using the linecap,linejoin,linewidth,dashpattern, etc from the gstate.
-
-
-
Field Detail
-
PDFButtLineCap
static final int PDFButtLineCap
Line style constants. The following constants are the values as they appear in a pdf file, as well as the legal values int the PDFGState- See Also:
- Constant Field Values
-
PDFRoundLineCap
static final int PDFRoundLineCap
- See Also:
- Constant Field Values
-
PDFSquareLineCap
static final int PDFSquareLineCap
- See Also:
- Constant Field Values
-
PDFMiterJoin
static final int PDFMiterJoin
- See Also:
- Constant Field Values
-
PDFRoundJoin
static final int PDFRoundJoin
- See Also:
- Constant Field Values
-
PDFBevelJoin
static final int PDFBevelJoin
- See Also:
- Constant Field Values
-
-
Method Detail
-
createEmptyPath
java.awt.geom.GeneralPath createEmptyPath()
Initialize and return a new empty path. This path may be used as either the current path or the clipping path.
-
createStroke
java.awt.Stroke createStroke(PDFGState g)
Create a Stroke object using the linecap,linejoin,linewidth,dashpattern, etc from the gstate. Like all objects created by the factories, the parser just creates them and passes them through to the page markup handler, which can choose to use as much or as little as it wants from them.
-
-