Package eas.math.geometry

Examples of eas.math.geometry.Pixel2D_08Bit.color()


                yNeuErst = (int) Math.round(normPix.y * yFakt);
                xNeuLetzt = (int) Math.round((normPix.x + 1) * xFakt);
                yNeuLetzt = (int) Math.round((normPix.y + 1) * yFakt);
                for (int x = xNeuErst; x < xNeuLetzt; x++) {
                    for (int y = yNeuErst; y < yNeuLetzt; y++) {
                        if (this.darFeld[x][y] != normPix.color()) {
                            this.wartPixel2D.add(new Pixel2D_08Bit(x,
                                                         y,
                                                         normPix.color()));
                            this.darFeld[x][y] = normPix.color();
                        }
View Full Code Here


                for (int x = xNeuErst; x < xNeuLetzt; x++) {
                    for (int y = yNeuErst; y < yNeuLetzt; y++) {
                        if (this.darFeld[x][y] != normPix.color()) {
                            this.wartPixel2D.add(new Pixel2D_08Bit(x,
                                                         y,
                                                         normPix.color()));
                            this.darFeld[x][y] = normPix.color();
                        }
                    }
                }
            } catch (final Exception e) {
View Full Code Here

                    for (int y = yNeuErst; y < yNeuLetzt; y++) {
                        if (this.darFeld[x][y] != normPix.color()) {
                            this.wartPixel2D.add(new Pixel2D_08Bit(x,
                                                         y,
                                                         normPix.color()));
                            this.darFeld[x][y] = normPix.color();
                        }
                    }
                }
            } catch (final Exception e) {
                StaticMethods.log(StaticMethods.LOG_WARNING,
View Full Code Here

        it = pixel2D.iterator();
        while (it.hasNext()) {
            aktPix = it.next();

            if (aktPix.color() == ConstantsSimulation.FARBE_ROB) {
                g2.setColor(ConstantsSimulation.C_VORDERGRUND);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_SEL) {
                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
View Full Code Here

        while (it.hasNext()) {
            aktPix = it.next();

            if (aktPix.color() == ConstantsSimulation.FARBE_ROB) {
                g2.setColor(ConstantsSimulation.C_VORDERGRUND);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_SEL) {
                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
View Full Code Here

            if (aktPix.color() == ConstantsSimulation.FARBE_ROB) {
                g2.setColor(ConstantsSimulation.C_VORDERGRUND);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_SEL) {
                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
            } else if (aktPix.color() >= 100 && aktPix.color() <= 125) {
                // Benutzerfarben.
View Full Code Here

                g2.setColor(ConstantsSimulation.C_VORDERGRUND);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_SEL) {
                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
            } else if (aktPix.color() >= 100 && aktPix.color() <= 125) {
                // Benutzerfarben.
                g2.setColor(ConstantsSimulation.C_BENUTZER[aktPix.color() - 100]);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_DURCHLAESSIG) {
View Full Code Here

                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
            } else if (aktPix.color() >= 100 && aktPix.color() <= 125) {
                // Benutzerfarben.
                g2.setColor(ConstantsSimulation.C_BENUTZER[aktPix.color() - 100]);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_DURCHLAESSIG) {
                g2.setColor(ConstantsSimulation.C_DURCHLAESSIG);
            } else {
View Full Code Here

                g2.setColor(ConstantsSimulation.C_SPEZIAL);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_RAHMEN) {
                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
            } else if (aktPix.color() >= 100 && aktPix.color() <= 125) {
                // Benutzerfarben.
                g2.setColor(ConstantsSimulation.C_BENUTZER[aktPix.color() - 100]);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_DURCHLAESSIG) {
                g2.setColor(ConstantsSimulation.C_DURCHLAESSIG);
            } else {
View Full Code Here

                g2.setColor(ConstantsSimulation.C_RAHMEN);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_GGSTD) {
                g2.setColor(ConstantsSimulation.C_GEGENSTAND);
            } else if (aktPix.color() >= 100 && aktPix.color() <= 125) {
                // Benutzerfarben.
                g2.setColor(ConstantsSimulation.C_BENUTZER[aktPix.color() - 100]);
            } else if (aktPix.color() == ConstantsSimulation.FARBE_DURCHLAESSIG) {
                g2.setColor(ConstantsSimulation.C_DURCHLAESSIG);
            } else {
                g2.setColor(this.getBackground());
            }
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.