Package com.tinyline.tiny2d

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


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

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


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

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

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

    void drawDimmed(final Tile tile, boolean black) {
        for (int i = 0; i < tile.width * tile.height; i++)
            tile.pixels32[i] = dimmedColor;
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.