Package org.terasology.rendering.nui

Examples of org.terasology.rendering.nui.Color


        for (int y = 0; y < height; ++y) {
            for (int x = 0; x < width; ++x) {
                int px = (x + offX) * scale;
                int py = (y + offY) * scale;
                Rect2i area = Rect2i.createFromMinAndSize(px, py, scale, scale);
                Color c = previewGenerator.get(layerName, area);
                c.addToBuffer(buf);
            }
            if (Thread.currentThread().isInterrupted()) {
                throw new InterruptedException();
            }
            if (progressListener != null) {
View Full Code Here

TOP

Related Classes of org.terasology.rendering.nui.Color

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.