Package org.graphstream.ui.graphicGraph.stylesheet

Examples of org.graphstream.ui.graphicGraph.stylesheet.Value


    if (style.getStrokeMode() != StyleConstants.StrokeMode.NONE
        && style.getStrokeWidth().value != 0) {
      GraphMetrics metrics = camera.getMetrics();
      Rectangle2D rect = new Rectangle2D.Double();
      double px1 = metrics.px1;
      Value stroke = style.getShadowWidth();

      rect.setFrame(metrics.lo.x, metrics.lo.y + px1,
          metrics.size.data[0] - px1, metrics.size.data[1] - px1);
      g.setStroke(new BasicStroke((float) metrics.lengthToGu(stroke)));
      g.setColor(graph.getStyle().getStrokeColor(0));
View Full Code Here

TOP

Related Classes of org.graphstream.ui.graphicGraph.stylesheet.Value

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.