Package libshapedraw.primitive

Examples of libshapedraw.primitive.Color.animateStartLoop()


    private void createColorShiftingShape() {
        WireframeCuboid box = new WireframeCuboid(8,63,2, 9,64,3);
        Color color = Color.CRIMSON.copy();
        box.setLineStyle(color, 3.0F, false);
        libShapeDraw.addShape(box);
        color.animateStartLoop(Color.MEDIUM_BLUE.copy().setAlpha(0.2), true, 750);

        // Prefer a functional coding style? This is the equivalent of the above:
        //libShapeDraw.addShape(
        //        new WireframeCuboid(8,63,2, 9,64,3)
        //        .setLineStyle(
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.