Package de.hpi.eworld.gui.util

Examples of de.hpi.eworld.gui.util.Pen


  }

  @Override
  public void paint(mxGraphics2DCanvas canvas, mxCellState state) {
    canvas.getGraphics().setBackground(getFillColor(null, null));
    Pen pen = new Pen(getStrokeColor(null, null));
    pen.apply(canvas.getGraphics());
    canvas.getGraphics().translate(state.getX(), state.getY());
    canvas.getGraphics().draw(shape);
  }
View Full Code Here

TOP

Related Classes of de.hpi.eworld.gui.util.Pen

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.