Package tikzmodel

Examples of tikzmodel.TikzCircle


 
  /**
   * Create a new FigureCircle in the origin.
   */
  public FigureCircle() {
    this(new TikzCircle());
  }
View Full Code Here


    super(c);
  }

  @Override
  public void updateShape() {
    TikzCircle c = (TikzCircle) f;
   
    double radius = c.getRadius().getValue();
    double x = c.getCenter().getX().getValue() - radius;
    double y = c.getCenter().getY().getValue() - radius;
   
    s = new Ellipse2D.Double(x,y,2*radius,2*radius);
  }
 
View Full Code Here

             
           
            case CIRCLE:
              SyntaxTeXDimension circleDim = parseDimension();
              tokens.add(circleDim);
              TikzCircle circle =  new TikzCircle(
                lastOrigin.getRepresented(),
                circleDim.getRepresented()
              );
              p("parsePathChain: added: " +circle.toString());
              figures.add(circle);
              lastOperator = null;
             
              // Neue Koordinate?
              tokens.add(readWhitespaces());
View Full Code Here

TOP

Related Classes of tikzmodel.TikzCircle

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.