Package diva.canvas.toolbox

Examples of diva.canvas.toolbox.IconFigure.translate()


        layer.add(_icon1);
        _icon1.setInteractor(defaultInteractor);

        // Add its terminals
        createTerminals(_icon1);
        _icon1.translate(100, 100);
    }

    /** Create an icon. The icon's graphic is created
     * by using GraphicsParse.
     */
 
View Full Code Here


                    Color.green);
            IconFigure icon = new IconFigure(background, graphic);

            // Add its terminals
            createTerminals(icon);
            icon.translate(100, 100);
            return icon;
        }

        public String toString() {
            return "Icon figure";
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.