Package org.jitterbit.ui.graphics

Examples of org.jitterbit.ui.graphics.BezierCurve


        private void drawLine(Graphics2D g, int leftY, int rightY) {
            if (STRAIGHT_LINES || (leftY == rightY)) {
                g.drawLine(0, leftY, getWidth(), rightY);
            } else {
                BezierCurve curve = new BezierCurve(new int[] { 0, getWidth() / 2, getWidth() / 2,  getWidth() },
                                new int[] { leftY, leftY, rightY, rightY });
                curve.paint(g);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.graphics.BezierCurve

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.