Package org.foray.area

Examples of org.foray.area.TextArea.crOriginX()


        /* The x value of the text area content rectangle should be at the x
         * location of the parent line area + 1/2 of the unused area in the
         * line. Total line area ipd = 468,000. Unused line area ipd =
         * 468,000 - 90,780 = 377,220. One half of the unused line area ipd =
         * 188,610. x = 72,000 + 188,610 = 260,610. */
        assertEquals(260610, textArea.crOriginX());

        /* The y value of the text area content rectangle should be the same as
         * the parent line area. */
        assertEquals(718800, textArea.crOriginY());
    }
View Full Code Here


         * location of the parent line area + 1/2 of the unused area in the
         * line. Total line area ipd = 468,000. Unused line area ipd =
         * 468,000 - 162,684 = 305,316. One half of the unused line area ipd =
         * 152,658.
         * x = 72,000 + 152,238 = 224,658. */
        assertEquals(224658, textArea.crOriginX());

        /* The y value of the text area content rectangle should be the same as
         * the parent line area. */
        assertEquals(718800, textArea.crOriginY());
    }
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.