Examples of PlottingStyle


Examples of net.sf.latexdraw.glib.models.interfaces.prop.IAxesProp.PlottingStyle

  /**
   * Updates the ticks path by drawing the ticks of the X/Y-axis.
   */
  private void updatePathTicks(final double gapx, final double gapy) {
    final PlottingStyle ticksDisplay = shape.getTicksDisplayed();
    final TicksStyle ticksStyle = shape.getTicksStyle();
    final double tickLgth = ticksStyle==TicksStyle.FULL ? shape.getTicksSize()*2. : shape.getTicksSize();

    if(ticksDisplay.isX())
      updatePathTicksX(gapx, ticksStyle, tickLgth);

    if(ticksDisplay.isY())
      updatePathTicksY(gapy, ticksStyle, tickLgth);
  }
View Full Code Here

Examples of net.sf.latexdraw.glib.models.interfaces.prop.IAxesProp.PlottingStyle

  /**
   * Updates the labels path by drawing the labels of the X/Y-axis.
   */
  protected void updatePathLabels(final double gapx, final double gapy) {
    final FontRenderContext frc = new FontRenderContext(null, true, true);
    final PlottingStyle labelsDisplay = shape.getLabelsDisplayed();
    final PlottingStyle ticksDisplay = shape.getTicksDisplayed();
    final TicksStyle ticksStyle = shape.getTicksStyle();

    if(labelsDisplay.isX())
      updatePathLabelsX(ticksDisplay, ticksStyle, gapx, frc);

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.