-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5, 3.0.0 PDFBox
-
Component/s: Writing
-
Labels:None
-
Flags:Patch
Currently PDPageContentStream has no method to set the miter limit. At the moment one has to resort to
contentStream.appendRawCommands(11f + " M ");
as workaround. But appendRawCommand() is deprecated, so there should be a official method to do so:
/** * Set the miter limit. * * @param miterLimit the new miter limit. * @throws IOException If the content stream could not be written. */ public void setMiterLimit(float miterLimit) throws IOException { if (inTextMode) { throw new IllegalStateException("Error: setMiterLimit is not allowed within a text block."); } writeOperand(miterLimit); writeOperator("M"); }
Please add this method to PDPageContentStream. Thank you.
- is related to
-
PDFBOX-3983 [Patch] Don't a allow a miter limit <= 0
-
- Closed
-