Package com.ribs.pdf
Interface PathFactory
- All Known Implementing Classes:
DefaultFactories
public interface PathFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
Line style constants.static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionInitialize and return a new empty path.Create a Stroke object using the linecap,linejoin,linewidth,dashpattern, etc from the gstate.
-
Field Details
-
PDFButtLineCap
static final int PDFButtLineCapLine 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:
-
PDFRoundLineCap
static final int PDFRoundLineCap- See Also:
-
PDFSquareLineCap
static final int PDFSquareLineCap- See Also:
-
PDFMiterJoin
static final int PDFMiterJoin- See Also:
-
PDFRoundJoin
static final int PDFRoundJoin- See Also:
-
PDFBevelJoin
static final int PDFBevelJoin- See Also:
-
-
Method Details
-
createEmptyPath
GeneralPath createEmptyPath()Initialize and return a new empty path. This path may be used as either the current path or the clipping path. -
createStroke
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.
-