Package common

Examples of common.BitmapRectangle


        buf.unref();
    }

    public BitmapRectangle readRectangle(ByteBuffer buf) {

        BitmapRectangle rectangle = new BitmapRectangle();

        // (2 bytes): A 16-bit, unsigned integer. Left bound of the rectangle.
        rectangle.x = buf.readSignedShortLE();

        // (2 bytes): A 16-bit, unsigned integer. Top bound of the rectangle.
View Full Code Here


        if (verbose)
            System.out.println("[" + this + "] INFO: Raw rect. X: " + x + ", y: " + y + ", width: " + width + ", height: " + height + ", data length: "
                    + rectDataLength + ".");

        BitmapRectangle rectangle = new BitmapRectangle();
        rectangle.x = x;
        rectangle.y = y;
        rectangle.width = width;
        rectangle.height = height;
        rectangle.bufferWidth = width;
View Full Code Here

        buf.unref();
    }

    public BitmapRectangle readRectangle(ByteBuffer buf) {

        BitmapRectangle rectangle = new BitmapRectangle();

        // (2 bytes): A 16-bit, unsigned integer. Left bound of the rectangle.
        rectangle.x = buf.readSignedShortLE();

        // (2 bytes): A 16-bit, unsigned integer. Top bound of the rectangle.
View Full Code Here

        if (verbose)
            System.out.println("[" + this + "] INFO: Raw rect. X: " + x + ", y: " + y + ", width: " + width + ", height: " + height + ", data length: "
                    + rectDataLength + ".");

        BitmapRectangle rectangle = new BitmapRectangle();
        rectangle.x = x;
        rectangle.y = y;
        rectangle.width = width;
        rectangle.height = height;
        rectangle.bufferWidth = width;
View Full Code Here

TOP

Related Classes of common.BitmapRectangle

Copyright © 2018 www.massapicom. 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.