Package org.axsl.pdf

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

Related Classes of org.axsl.pdf.PdfPathPaint

Copyright © 2018 www.massapicom. 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.