Examples of Draw()


Examples of de.yaams.extensions.basemap.tiled.core.Tile.draw()

            gridPoly.translate(gx, gy);
            g2d.fillPolygon(gridPoly);
            gridPoly.translate(-gx, -gy);
            // paintEdge(g, layer, gx, gy);
          } else {
            tile.draw(g2d, gx, gy, zoom);
          }
        }
      }
    }
  }
View Full Code Here

Examples of dwlab.base.images.Image.draw()

  }

 
  public static void drawDoubleMap( DoubleMap map ) {
    Image image = map.toNewImage();
    image.draw( 0, 400, 300, 400, 400 );
    drawSignature();
  }


  public static void drawSignature() {
View Full Code Here

Examples of dwlab.shapes.maps.tilemaps.TileMap.draw()

    clearScreen();
    doubleMap.extractTo( tileMap, 0.5d, 1d, filledTileNum );
    Project.printText( "Step 4: setting tiles number of tilemap to FilledTileNum" );
    Project.printText( "if corresponding value of Double map is higher than 0.5", 1 );
    tileMap.draw();
    drawSignature();
    swapBuffers();
    waitForKey();

    clearScreen();
View Full Code Here

Examples of dwlab.shapes.sprites.Sprite.draw()

      if( cursor.collidesWith( sprite ) ) {
        sprite.visualizer.set( "FF7F7F" );
        Sprite wedgedCursor = cursor.clone();
        wedgedCursor.wedgeOffWith( sprite, 0, 1 );
        wedgedCursor.visualizer.set( "7F7FFF7F" );
        wedgedCursor.draw();
      } else {
        sprite.visualizer.set( "7FFF7F" );
      }
    }
    cursor.draw();
View Full Code Here

Examples of edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator.draw()

        Stroke oldStroke = g.getStroke();
        Stroke stroke = rc.getVertexStrokeTransformer().transform(v);
        if (stroke != null) {
            g.setStroke(stroke);
        }
        g.draw(shape);
        g.setPaint(oldPaint);
        g.setStroke(oldStroke);
    }
}
View Full Code Here

Examples of edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics.draw()

            }
            Paint draw_paint = rc.getEdgeDrawPaintTransformer().transform(e);
            if (draw_paint != null)
            {
                g.setPaint(draw_paint);
                g.draw(edgeShape, flatness);
            }
           
            float scalex = (float)g.getTransform().getScaleX();
            float scaley = (float)g.getTransform().getScaleY();
            // see if arrows are too small to bother drawing
View Full Code Here

Examples of erogenousbeef.bigreactors.gui.IBeefListBoxEntry.draw()

    for(int i = displayTop; i < entries.size(); i++) {
      entry = entries.get(i);
      if(entry.getHeight() + drawnY > this.height) { break; }
      else {
        if(this.selectedEntryIdx == i) {
          entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, selectedLineColor, selectedTextColor);
        }
        else {
          entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, backgroundColor, textColor);
        }
      }
View Full Code Here

Examples of games.stendhal.client.sprite.Sprite.draw()

      final Sprite sprite = floater.getValue();
      final int age = indicator.getAge();
     
      final int tx = x + (width - sprite.getWidth()) / 2;
      final int ty = y - (int) (age * 5L / 300L);
      sprite.draw(g2d, tx, ty);
    }
  }

  /**
   * Draw the entity HP bar.
View Full Code Here

Examples of graphics.common.GraphicsObject.draw()

                    Graphics2D g = js.getGraphics();
                    g.setColor( new Color( 0, 100, 0, 200 ) );
                    g.drawRect( 0, 0, js.getSize()[ 0 ].getWidth(), js.getSize()[ 0 ].getHeight() );
                    g.dispose();
                }*/
                go.draw( JavaWindow.getGraphics2D(), delta );
            }
            tree.drawTree( JavaWindow.getGraphics2D() );
           
            theWindow.update();

View Full Code Here

Examples of hype.extended.util.HVertex.draw()

    else g.beginShape(PConstants.POINTS);
   
    int itrs = (isPolygon)? numv+1 : numv;
    for(int i=0; i<itrs; ++i) {
      HVertex v = vertex(i<numv? i : 0);
      v.draw(g, drawX, drawY, isSimple);
      if(isSimple && drawsLines) isSimple = false;
    }
   
    if(isPolygon) g.endShape(PConstants.CLOSE);
    else g.endShape();
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.