コード例 #1
0
 public FigDependency() {
   addPathItem(_stereo, new PathConvPercent(this, 50, 10));
   endArrow = new ArrowHeadGreater();
   endArrow.setFillColor(Color.red);
   setDestArrowHead(endArrow);
   setBetweenNearestPoints(true);
   setLayer(ProjectBrowser.TheInstance.getActiveDiagram().getLayer());
 }
コード例 #2
0
 public void paint(Graphics g) {
   endArrow.setLineColor(getLineColor());
   super.paint(g);
 }