Examples of offsetPosition()


Examples of org.antlr.xjlib.appkit.frame.XJWindow.offsetPosition()

            XJWindow window = document.getWindow();
            if(!window.isMaximized() && useDesktopMode()) {
                documentAbsoluteCount++;

                window.offsetPosition(documentAbsPositionCount*DOCUMENT_OFFSET_PIXELS,
                        documentAbsPositionCount*DOCUMENT_OFFSET_PIXELS);

                if(window.isCompletelyOnScreen())
                    documentAbsPositionCount++;
                else
View Full Code Here

Examples of org.spout.vanilla.world.generator.structure.PieceLayoutBuilder.offsetPosition()

    }
    // Apply the center cross above the loot pit, in the center of the pyramid
    painter.setLayout(CENTER_CROSS).setPosition(7, 0, 7).fill();
    // Apply the glyphs on the towers
    painter.setLayout(TOWER).setPosition(1, 8, 0).setRotation(Quaternionf.fromAngleDegAxis(90, 1, 0, 0)).fill();
    painter.offsetPosition(16, 0, 0).fill();
    // Apply the glyph on the main door
    painter.setLayout(DOOR).setPosition(8, 6, 0).fill();
    // Dig the loot pit
    picker.setOuterInnerMaterials(Sandstone.SMOOTH, Sandstone.SMOOTH);
    box.setMinMax(8, -14, 8, 12, -11, 12).fill();
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.