Package com.sun.star.awt

Examples of com.sun.star.awt.Gradient


        try {
            if (isSimpleColorMode()){
                setColorProp(AnyConverter.toInt(xProps.getPropertyValue("FillColor")));
            }
            if(isGradientColorMode()){
                Gradient aGradient = (Gradient)xProps.getPropertyValue("FillGradient");
                setStartColorProp(aGradient.StartColor);
                setEndColorProp(aGradient.EndColor);
                if(aGradient.Angle == 900)
                    setGradientDirectionProp(Diagram.HORIZONTAL);
            }
View Full Code Here

TOP

Related Classes of com.sun.star.awt.Gradient

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.