Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.4
-
None
-
Patch
Description
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.
Attachments
Issue Links
- is related to
-
PDFBOX-3983 [Patch] Don't a allow a miter limit <= 0
- Closed