Package net.sf.latexdraw.glib.models.interfaces.shape

Examples of net.sf.latexdraw.glib.models.interfaces.shape.IStandardGrid


    shape.setOrigin(20, 30);
    shape.setGridStart(-100, -40);
    shape.setGridEnd(200, 300);
//    shape.setLabelsSize(IText.TestSize.HUGE1.getSize());

    IStandardGrid g2 = (IStandardGrid) shape.duplicate();

    HelperTest.assertEqualsDouble(20., g2.getOriginX());
    HelperTest.assertEqualsDouble(30., g2.getOriginY());
    HelperTest.assertEqualsDouble(-100., g2.getGridStartX());
    HelperTest.assertEqualsDouble(-40., g2.getGridStartY());
    HelperTest.assertEqualsDouble(200., g2.getGridEndX());
    HelperTest.assertEqualsDouble(300., g2.getGridEndY());
//    assertEquals(IText.TestSize.HUGE1.getSize(), shape2.getLabelsSize());//FIXME
  }
View Full Code Here

TOP

Related Classes of net.sf.latexdraw.glib.models.interfaces.shape.IStandardGrid

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.