Package com.vaadin.addon.charts.model.style.GradientColor

Examples of com.vaadin.addon.charts.model.style.GradientColor.RadialGradient


            value.add(new JsonPrimitive(linearGradient.y1));
            value.add(new JsonPrimitive(linearGradient.x2));
            value.add(new JsonPrimitive(linearGradient.y2));
            jsonObject.add("linearGradient", value);
        } else {
            RadialGradient radialGradient = src.getRadialGradient();
            JsonArray value = new JsonArray();
            value.add(new JsonPrimitive(radialGradient.cx));
            value.add(new JsonPrimitive(radialGradient.cy));
            value.add(new JsonPrimitive(radialGradient.r));
            jsonObject.add("radialGradient", value);
View Full Code Here

TOP

Related Classes of com.vaadin.addon.charts.model.style.GradientColor.RadialGradient

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.