Examples of Gradient4a


Examples of org.foray.common.Gradient4a

            someColors.add(c1);
            someColors.add(c2);

            final ColorSpace aColorSpace = ColorSpace.getInstance(ColorSpace.CS_sRGB);
            final Gradient4a gradient = new Gradient4a(false, aColorSpace, someColors, null, theCoords);
            final String gradientName = this.pdfContext.getGradientName(gradient);
            if (fill) {
                this.write("/Pattern cs /" + gradientName + " scn" + WKConstants.LINEFEED);
            } else {
                this.write("/Pattern CS /" + gradientName + " SCN" + WKConstants.LINEFEED);
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.