Package diva.canvas.toolbox

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


        two.lineMode();
        two.add(Color.black);
        two.add(new Line2D.Double(14.65, 14.65, 85.35, 85.35));
        two.add(new Line2D.Double(85.35, 14.65, 14.65, 85.35));

        two.translate(200, 100);
        layer.add(two);
        two.setInteractor(defaultInteractor);
    }

    /** Main function
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.