Package java.awt

Examples of java.awt.Stroke


     
      if (tickMarkPaint != null)
      {
        axis.setTickMarkPaint(tickMarkPaint);
      }
      Stroke defaultTickMarkStroke = (Stroke)getDefaultValue(defaultAxisPropertiesMap, ChartThemesConstants.AXIS_TICK_MARKS_STROKE);
      if(defaultTickMarkStroke != null)
        axis.setTickMarkStroke(defaultTickMarkStroke);
    }
  }
View Full Code Here


    line3DRenderer.setBaseToolTipGenerator(lineRenderer.getBaseToolTipGenerator());
    line3DRenderer.setURLGenerator(lineRenderer.getURLGenerator());
    line3DRenderer.setBaseStroke(new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
    line3DRenderer.setBaseLinesVisible(lineRenderer.getBaseLinesVisible());
    line3DRenderer.setBaseShapesVisible(lineRenderer.getBaseShapesVisible());
    Stroke stroke = new BasicStroke(2f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
    XYDataset xyDataset = xyPlot.getDataset();
    if(xyDataset != null)
    {
      for(int i = 0; i < xyDataset.getSeriesCount(); i++)
      {
View Full Code Here

   
    boolean firstLabel = true;
   
    Arc2D arc = new Arc2D.Double();
    Line2D workingLine = new Line2D.Double();
    Stroke arcStroke = new BasicStroke(0.75f);
   
    for (double v = this.getLowerBound(); v <= this.getUpperBound();
        v += this.getMajorTickIncrement()) {
      arc.setArc(arcRect, this.getStartAngle(), valueToAngle(v)
          - this.getStartAngle(), Arc2D.OPEN);
View Full Code Here

  /**
   * @param lineStroke the lineStroke to set
   */
  public void setLineStroke(Stroke lineStroke) {
    Stroke old = getLineStroke();
    this.lineStroke = lineStroke;
    getEventSupport().firePropertyChange(PROPERTY_lineStroke, old, getLineStroke());
  }
View Full Code Here

  /**
   * @param tickMarksStroke the tickMarksStroke to set
   */
  public void setTickMarksStroke(Stroke tickMarksStroke) {
    Stroke old = getTickMarksStroke();
    this.tickMarksStroke = tickMarksStroke;
    getEventSupport().firePropertyChange(PROPERTY_tickMarksStroke, old, getTickMarksStroke());
  }
View Full Code Here

  /**
   * @param outlineStroke the outlineStroke to set
   */
  public void setOutlineStroke(Stroke outlineStroke) {
    Stroke old = getOutlineStroke();
    this.outlineStroke = outlineStroke;
    getEventSupport().firePropertyChange(PROPERTY_outlineStroke, old, getOutlineStroke());
  }
View Full Code Here

  /**
   * @param domainGridlineStroke the domainGridlineStroke to set
   */
  public void setDomainGridlineStroke(Stroke domainGridlineStroke)
  {
    Stroke old = getDomainGridlineStroke();
    this.domainGridlineStroke = domainGridlineStroke;
    getEventSupport().firePropertyChange(PROPERTY_domainGridlineStroke, old, getDomainGridlineStroke());
  }
View Full Code Here

  /**
   * @param rangeGridlineStroke the rangeGridlineStroke to set
   */
  public void setRangeGridlineStroke(Stroke rangeGridlineStroke)
  {
    Stroke old = getRangeGridlineStroke();
    this.rangeGridlineStroke = rangeGridlineStroke;
    getEventSupport().firePropertyChange(PROPERTY_rangeGridlineStroke, old, getRangeGridlineStroke());
  }
View Full Code Here

    {
      Paint outlinePaint = getPlotSettings().getOutlinePaint() == null ? null : getPlotSettings().getOutlinePaint().getPaint();
      if(outlinePaint != null)
        plot.setOutlinePaint(outlinePaint);
     
      Stroke plotOutlineStroke = getPlotSettings().getOutlineStroke();
      if(plotOutlineStroke != null)
        plot.setOutlineStroke(plotOutlineStroke);
     
      plot.setOutlineVisible(true);
    }
View Full Code Here

      boolean isVisible = chartSettings.getBorderVisible() == null
        ? true
        : chartSettings.getBorderVisible().booleanValue();
      if (isVisible)
      {
        Stroke stroke = chartSettings.getBorderStroke();
        if(stroke != null)
          jfreeChart.setBorderStroke(stroke);
        Paint paint = chartSettings.getBorderPaint() == null
            ? null
            : chartSettings.getBorderPaint().getPaint();
View Full Code Here

TOP

Related Classes of java.awt.Stroke

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.