Package com.tinyline.tiny2d

Examples of com.tinyline.tiny2d.Tiny2D.drawLine()


        int wH = daWidth(tile) >> 1;
        int hH = daHeight(tile) >> 1;
        int wQ = wH >> 1;
        int hQ = hH >> 1;
        t2d.drawLine(daAnchorX + wQ, daAnchorY + hQ, daAnchorX + wH + wQ, daAnchorY + hH + hQ);
        t2d.drawLine(daAnchorX + wQ, daAnchorY + hH + hQ, daAnchorX + wH + wQ, daAnchorY + hQ);
    }

    void drawSquare(final Tile tile, boolean black) {
        Tiny2D t2d = getT2D(tile);
View Full Code Here


        int wH = daWidth(tile) >> 1;
        int hH = daHeight(tile) >> 1;
        int wQ = wH >> 1;
        int hQ = hH >> 1;
        t2d.drawLine(daAnchorX + wQ, daAnchorY + hQ, daAnchorX + wH + wQ, daAnchorY + hH + hQ);
        t2d.drawLine(daAnchorX + wQ, daAnchorY + hH + hQ, daAnchorX + wH + wQ, daAnchorY + hQ);
    }

    void drawSquare(final Tile tile, boolean black) {
        Tiny2D t2d = getT2D(tile);
        setT2DPureMark(t2d, tile, black);
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.