Package org.jitterbit.ui.graphics

Examples of org.jitterbit.ui.graphics.BezierCurve.paint()


            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
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.