Examples of PdfPathPaint


Examples of org.axsl.pdf.PdfPathPaint

     * {@inheritDoc}
     */
    protected void drawRectangle(final int x, final int y, final int w,
            final int h, final Color strokeColor, final Color fillColor)
            throws GalleyVisitorException {
        PdfPathPaint strokePaint = null;
        if (strokeColor != null) {
            strokePaint = this.getPDFDocument().createPdfColor(strokeColor);
        }
        PdfPathPaint fillPaint = null;
        if (fillColor != null) {
            fillPaint = this.getPDFDocument().createPdfColor(fillColor);
        }
        final Rectangle2D.Float rectangle = new Rectangle2D.Float(toPoints(x),
                toPoints(y), toPoints(w), toPoints(h));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.