Package com.sun.glass.ui

Examples of com.sun.glass.ui.Pixels


        int glassColor = glassRobot.getPixelColor((int) location.getX(), (int) location.getY());
        return convertFromGlassColor(glassColor);
    }

    public Image getCaptureRegion(Rectangle2D region) {
        Pixels glassPixels = glassRobot.getScreenCapture(
            (int) region.getMinX(), (int) region.getMinY(),
            (int) region.getWidth(), (int) region.getHeight()
        );
        return convertFromGlassPixels(glassPixels);
    }
View Full Code Here

TOP

Related Classes of com.sun.glass.ui.Pixels

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.