Package com.googlecode.charts4j.parameters

Examples of com.googlecode.charts4j.parameters.ColorAndOffset


    /**
     * @see Fills#newLinearGradientFill(int, Color, double)
     */
    LinearGradientFill(final int angle, final Color color, final double offset) {
        super(angle);
        colorsAndOffsets.add(new ColorAndOffset(color, offset));
    }
View Full Code Here


     * @param offset
     *            Additional offset.
     */
    public final void addColorAndOffset(final Color color, final double offset) {
        checkNotNull(color, "Color cannot be null");
        colorsAndOffsets.add(new ColorAndOffset(color, offset));
    }
View Full Code Here

TOP

Related Classes of com.googlecode.charts4j.parameters.ColorAndOffset

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.