Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Get the x-coordinate of the center of the line.
Get the x-coordinate of the center of the line.
Get the y-coordinate of the center of the line.
Get the y-coordinate of the center of the line.
Return the next point on the CurvilinearShape (one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height.
Return the next point on the CurvilinearShape (one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height. Return null if past end point. This is an optional method.
the width of object traversing the curve
the height of object traversing the curve
the starting point for the line
the ending point for the line
Set (or reset) the frame/location for the Line as a line.
Set (or reset) the frame/location for the Line as a line. The bend parameter is ignored for this class, since arrows are straight.
the starting point
the ending point
the bend or curvature (0. => straight line)
Set (or reset) the frame/location for the Line as a line.
Set (or reset) the frame/location for the Line as a line.
the starting point
the ending point
Set (or reset) the location for a line/curve using an explicitly given control point.
Set (or reset) the location for a line/curve using an explicitly given control point. This is an optional method.
The Line class uses Java's Line2D class to create a line.
the starting point for the line
the ending point for the line