예제 #1
0
 public RectangleInsets(UnitType unitType, double top, double left, double bottom, double right)
 {
   base.\u002Ector();
   RectangleInsets rectangleInsets = this;
   if (unitType == null)
   {
     string str = "Null 'unitType' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.unitType = unitType;
     this.top = top;
     this.bottom = bottom;
     this.left = left;
     this.right = right;
   }
 }
 public StandardXYItemRenderer(int type, XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator)
 {
   StandardXYItemRenderer standardXyItemRenderer = this;
   this.gapThresholdType = UnitType.__\u003C\u003ERELATIVE;
   this.gapThreshold = 1.0;
   this.setBaseToolTipGenerator(toolTipGenerator);
   this.setURLGenerator(urlGenerator);
   if ((type & 1) != 0)
     this.baseShapesVisible = true;
   if ((type & 2) != 0)
     this.plotLines = true;
   if ((type & 4) != 0)
     this.plotImages = true;
   if ((type & 8) != 0)
     this.plotDiscontinuous = true;
   this.shapesFilled = (Boolean) null;
   this.seriesShapesFilled = new BooleanList();
   this.baseShapesFilled = true;
   this.legendLine = (Shape) new Line2D.Double(-7.0, 0.0, 7.0, 0.0);
   this.drawSeriesLineAsPath = false;
 }