Files
2016-04-27 01:07:35 -04:00

1015 lines
54 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:02 EDT 2016 -->
<title>Bow (Parallel Java 2 Library Documentation)</title>
<meta name="date" content="2016-04-06">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Bow (Parallel Java 2 Library Documentation)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Bow.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../edu/rit/draw/item/Bullet.html" title="class in edu.rit.draw.item"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?edu/rit/draw/item/Bow.html" target="_top">Frames</a></li>
<li><a href="Bow.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">edu.rit.draw.item</div>
<h2 title="Class Bow" class="title">Class Bow</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">edu.rit.draw.item.DrawingItem</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">edu.rit.draw.item.OutlinedItem</a></li>
<li>
<ul class="inheritance">
<li>edu.rit.draw.item.Bow</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">Bow</span>
extends <a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a>
implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></pre>
<div class="block">Class Bow provides a <a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a> that joins two points with a
curved (bowed) line. The curve is specified by a "curve factor." If the curve
factor is positive, the line curves to the right when going from the starting
point to the ending point. If the curve factor is negative, the line curves
to the left. The larger the magnitude of the curve factor, the farther the
line curves. (The curve factor is the tangent of the angle at which the line
leaves the starting point and approaches the ending point.) The line may have
an <a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a> at either or both ends. The line has an outline but no
filled interior.
<P>
The static <TT>defaultCurve()</TT>, <TT>defaultStartArrow()</TT>, and
<TT>defaultEndArrow()</TT> methods are provided to set the default curve
factor, starting arrow, and ending arrow. If the curve factor, starting
arrow, or ending arrow is not specified, the current default curve factor,
starting arrow, or ending arrow is used.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#edu.rit.draw.item.Bow">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#NORMAL_CURVE">NORMAL_CURVE</a></strong></code>
<div class="block">The normal curve factor (0.5).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#NORMAL_END_ARROW">NORMAL_END_ARROW</a></strong></code>
<div class="block">The normal ending arrow: None.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#NORMAL_START_ARROW">NORMAL_START_ARROW</a></strong></code>
<div class="block">The normal starting arrow: None.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.draw.item.OutlinedItem">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></h3>
<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#NORMAL_OUTLINE">NORMAL_OUTLINE</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#Bow()">Bow</a></strong>()</code>
<div class="block">Construct a new bowed line.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#Bow(edu.rit.draw.item.Bow)">Bow</a></strong>(<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;theBow)</code>
<div class="block">Construct a bowed line with the same points, outline, starting arrow,
ending arrow, and curve factor as the given line.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#add()">add</a></strong>()</code>
<div class="block">Add this bowed line to the end of the default drawing's sequence of
drawing items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#add(edu.rit.draw.Drawing)">add</a></strong>(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a>&nbsp;theDrawing)</code>
<div class="block">Add this bowed line to the end of the given drawing's sequence of drawing
items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#addFirst()">addFirst</a></strong>()</code>
<div class="block">Add this bowed line to the beginning of the default drawing's sequence of
drawing items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#addFirst(edu.rit.draw.Drawing)">addFirst</a></strong>(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a>&nbsp;theDrawing)</code>
<div class="block">Add this bowed line to the beginning of the given drawing's sequence of
drawing items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#curve()">curve</a></strong>()</code>
<div class="block">Returns this bowed line's curve factor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#curve(double)">curve</a></strong>(double&nbsp;theCurve)</code>
<div class="block">Set this bowed line's curve factor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultCurve()">defaultCurve</a></strong>()</code>
<div class="block">Returns the default curve factor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultCurve(double)">defaultCurve</a></strong>(double&nbsp;theCurve)</code>
<div class="block">Set the default curve factor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultEndArrow()">defaultEndArrow</a></strong>()</code>
<div class="block">Returns the default ending arrow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultEndArrow(edu.rit.draw.item.Arrow)">defaultEndArrow</a></strong>(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</code>
<div class="block">Set the default ending arrow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultStartArrow()">defaultStartArrow</a></strong>()</code>
<div class="block">Returns the default starting arrow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#defaultStartArrow(edu.rit.draw.item.Arrow)">defaultStartArrow</a></strong>(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</code>
<div class="block">Set the default starting arrow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#draw(java.awt.Graphics2D)">draw</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a>&nbsp;g2d)</code>
<div class="block">Draw this drawing item in the given graphics context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#end()">end</a></strong>()</code>
<div class="block">Returns this bowed line's ending point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#end(double, double)">end</a></strong>(double&nbsp;x,
double&nbsp;y)</code>
<div class="block">Set this bowed line's ending point.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#end(edu.rit.draw.item.Point)">end</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;thePoint)</code>
<div class="block">Set this bowed line's ending point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#endArrow()">endArrow</a></strong>()</code>
<div class="block">Returns this bowed line's ending arrow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#endArrow(edu.rit.draw.item.Arrow)">endArrow</a></strong>(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</code>
<div class="block">Set this bowed line's ending arrow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#flip()">flip</a></strong>()</code>
<div class="block">Flip this bowed line from curving right to curving left or vice versa.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#height()">height</a></strong>()</code>
<div class="block">Returns the height of this drawing item's bounding box.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#nw()">nw</a></strong>()</code>
<div class="block">Returns the northwest corner point of this drawing item's bounding box.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#outline(edu.rit.draw.item.Outline)">outline</a></strong>(<a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a>&nbsp;theOutline)</code>
<div class="block">Set this bowed line's outline.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#readExternal(java.io.ObjectInput)">readExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a>&nbsp;in)</code>
<div class="block">Read this bowed line from the given object input stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#size()">size</a></strong>()</code>
<div class="block">Returns the size of this drawing item's bounding box.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#start()">start</a></strong>()</code>
<div class="block">Returns this bowed line's starting point.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#start(double, double)">start</a></strong>(double&nbsp;x,
double&nbsp;y)</code>
<div class="block">Set this bowed line's starting point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#start(edu.rit.draw.item.Point)">start</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;thePoint)</code>
<div class="block">Set this bowed line's starting point.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#startArrow()">startArrow</a></strong>()</code>
<div class="block">Returns this bowed line's starting arrow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a></code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#startArrow(edu.rit.draw.item.Arrow)">startArrow</a></strong>(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</code>
<div class="block">Set this bowed line's starting arrow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#width()">width</a></strong>()</code>
<div class="block">Returns the width of this drawing item's bounding box.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Bow.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a>&nbsp;out)</code>
<div class="block">Write this bowed line to the given object output stream.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.OutlinedItem">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></h3>
<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#defaultOutline()">defaultOutline</a>, <a href="../../../../edu/rit/draw/item/OutlinedItem.html#defaultOutline(edu.rit.draw.item.Outline)">defaultOutline</a>, <a href="../../../../edu/rit/draw/item/OutlinedItem.html#outline()">outline</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.DrawingItem">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></h3>
<code><a href="../../../../edu/rit/draw/item/DrawingItem.html#boundingBox()">boundingBox</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#c()">c</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#e()">e</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#n()">n</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#ne()">ne</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#s()">s</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#se()">se</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#sw()">sw</a>, <a href="../../../../edu/rit/draw/item/DrawingItem.html#w()">w</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="NORMAL_START_ARROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NORMAL_START_ARROW</h4>
<pre>public static final&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a> NORMAL_START_ARROW</pre>
<div class="block">The normal starting arrow: None.</div>
</li>
</ul>
<a name="NORMAL_END_ARROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NORMAL_END_ARROW</h4>
<pre>public static final&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a> NORMAL_END_ARROW</pre>
<div class="block">The normal ending arrow: None.</div>
</li>
</ul>
<a name="NORMAL_CURVE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NORMAL_CURVE</h4>
<pre>public static final&nbsp;double NORMAL_CURVE</pre>
<div class="block">The normal curve factor (0.5).</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.Bow.NORMAL_CURVE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Bow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Bow</h4>
<pre>public&nbsp;Bow()</pre>
<div class="block">Construct a new bowed line. The line has no points initially. The default
outline, starting arrow, ending arrow, and curve factor are used.</div>
</li>
</ul>
<a name="Bow(edu.rit.draw.item.Bow)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Bow</h4>
<pre>public&nbsp;Bow(<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;theBow)</pre>
<div class="block">Construct a bowed line with the same points, outline, starting arrow,
ending arrow, and curve factor as the given line.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theBow</code> - Bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theBow</TT> is null.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="defaultStartArrow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultStartArrow</h4>
<pre>public static&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;defaultStartArrow()</pre>
<div class="block">Returns the default starting arrow.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Default starting arrow.</dd></dl>
</li>
</ul>
<a name="defaultStartArrow(edu.rit.draw.item.Arrow)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultStartArrow</h4>
<pre>public static&nbsp;void&nbsp;defaultStartArrow(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</pre>
<div class="block">Set the default starting arrow. Before calling this method the first
time, the default starting arrow is <TT>Arrow.NONE</TT>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theArrow</code> - Default starting arrow.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theArrow</TT> is null.</dd></dl>
</li>
</ul>
<a name="defaultEndArrow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultEndArrow</h4>
<pre>public static&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;defaultEndArrow()</pre>
<div class="block">Returns the default ending arrow.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Default ending arrow.</dd></dl>
</li>
</ul>
<a name="defaultEndArrow(edu.rit.draw.item.Arrow)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultEndArrow</h4>
<pre>public static&nbsp;void&nbsp;defaultEndArrow(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</pre>
<div class="block">Set the default ending arrow. Before calling this method the first
time, the default ending arrow is <TT>Arrow.NONE</TT>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theArrow</code> - Default ending arrow.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theArrow</TT> is null.</dd></dl>
</li>
</ul>
<a name="defaultCurve()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultCurve</h4>
<pre>public static&nbsp;double&nbsp;defaultCurve()</pre>
<div class="block">Returns the default curve factor.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Default curve factor.</dd></dl>
</li>
</ul>
<a name="defaultCurve(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultCurve</h4>
<pre>public static&nbsp;void&nbsp;defaultCurve(double&nbsp;theCurve)</pre>
<div class="block">Set the default curve factor. Before calling this method the first time,
the default curve factor is 0.5.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theCurve</code> - Default curve factor.</dd></dl>
</li>
</ul>
<a name="size()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a>&nbsp;size()</pre>
<div class="block">Returns the size of this drawing item's bounding box.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/DrawingItem.html#size()">size</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Size.</dd></dl>
</li>
</ul>
<a name="width()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>width</h4>
<pre>public&nbsp;double&nbsp;width()</pre>
<div class="block">Returns the width of this drawing item's bounding box.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/DrawingItem.html#width()">width</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Width.</dd></dl>
</li>
</ul>
<a name="height()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>height</h4>
<pre>public&nbsp;double&nbsp;height()</pre>
<div class="block">Returns the height of this drawing item's bounding box.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/DrawingItem.html#height()">height</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Height.</dd></dl>
</li>
</ul>
<a name="nw()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nw</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;nw()</pre>
<div class="block">Returns the northwest corner point of this drawing item's bounding box.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/DrawingItem.html#nw()">nw</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Northwest corner point.</dd></dl>
</li>
</ul>
<a name="outline(edu.rit.draw.item.Outline)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outline</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;outline(<a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a>&nbsp;theOutline)</pre>
<div class="block">Set this bowed line's outline.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#outline(edu.rit.draw.item.Outline)">outline</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theOutline</code> - Outline, or <TT>Outline.NONE</TT>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd></dl>
</li>
</ul>
<a name="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;start()</pre>
<div class="block">Returns this bowed line's starting point.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Starting point.</dd></dl>
</li>
</ul>
<a name="start(double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;start(double&nbsp;x,
double&nbsp;y)</pre>
<div class="block">Set this bowed line's starting point.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - Starting point X coordinate.</dd><dd><code>y</code> - Starting point Y coordinate.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd></dl>
</li>
</ul>
<a name="start(edu.rit.draw.item.Point)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;start(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;thePoint)</pre>
<div class="block">Set this bowed line's starting point.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Starting point.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>thePoint</TT> is null.</dd></dl>
</li>
</ul>
<a name="end()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>end</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;end()</pre>
<div class="block">Returns this bowed line's ending point.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Ending point.</dd></dl>
</li>
</ul>
<a name="end(double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>end</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;end(double&nbsp;x,
double&nbsp;y)</pre>
<div class="block">Set this bowed line's ending point.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - Ending point X coordinate.</dd><dd><code>y</code> - Ending point Y coordinate.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd></dl>
</li>
</ul>
<a name="end(edu.rit.draw.item.Point)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>end</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;end(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a>&nbsp;thePoint)</pre>
<div class="block">Set this bowed line's ending point.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Ending point.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>thePoint</TT> is null.</dd></dl>
</li>
</ul>
<a name="startArrow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startArrow</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;startArrow()</pre>
<div class="block">Returns this bowed line's starting arrow.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Starting arrow.</dd></dl>
</li>
</ul>
<a name="startArrow(edu.rit.draw.item.Arrow)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startArrow</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;startArrow(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</pre>
<div class="block">Set this bowed line's starting arrow.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theArrow</code> - Starting arrow.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theArrow</TT> is null.</dd></dl>
</li>
</ul>
<a name="endArrow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endArrow</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;endArrow()</pre>
<div class="block">Returns this bowed line's ending arrow.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Ending arrow.</dd></dl>
</li>
</ul>
<a name="endArrow(edu.rit.draw.item.Arrow)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endArrow</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;endArrow(<a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item">Arrow</a>&nbsp;theArrow)</pre>
<div class="block">Set this bowed line's ending arrow.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theArrow</code> - Ending arrow.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theArrow</TT> is null.</dd></dl>
</li>
</ul>
<a name="curve()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curve</h4>
<pre>public&nbsp;double&nbsp;curve()</pre>
<div class="block">Returns this bowed line's curve factor.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Curve factor.</dd></dl>
</li>
</ul>
<a name="curve(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curve</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;curve(double&nbsp;theCurve)</pre>
<div class="block">Set this bowed line's curve factor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theCurve</code> - Curve factor.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd></dl>
</li>
</ul>
<a name="flip()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flip</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;flip()</pre>
<div class="block">Flip this bowed line from curving right to curving left or vice versa.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd></dl>
</li>
</ul>
<a name="add()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;add()</pre>
<div class="block">Add this bowed line to the end of the default drawing's sequence of
drawing items.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#add()">add</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if there is no default drawing.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../edu/rit/draw/Drawing.html#defaultDrawing()"><code>Drawing.defaultDrawing()</code></a></dd></dl>
</li>
</ul>
<a name="add(edu.rit.draw.Drawing)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;add(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a>&nbsp;theDrawing)</pre>
<div class="block">Add this bowed line to the end of the given drawing's sequence of drawing
items.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#add(edu.rit.draw.Drawing)">add</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theDrawing</code> - Drawing.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theDrawing</TT> is null.</dd></dl>
</li>
</ul>
<a name="addFirst()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFirst</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;addFirst()</pre>
<div class="block">Add this bowed line to the beginning of the default drawing's sequence of
drawing items.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#addFirst()">addFirst</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if there is no default drawing.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../edu/rit/draw/Drawing.html#defaultDrawing()"><code>Drawing.defaultDrawing()</code></a></dd></dl>
</li>
</ul>
<a name="addFirst(edu.rit.draw.Drawing)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFirst</h4>
<pre>public&nbsp;<a href="../../../../edu/rit/draw/item/Bow.html" title="class in edu.rit.draw.item">Bow</a>&nbsp;addFirst(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a>&nbsp;theDrawing)</pre>
<div class="block">Add this bowed line to the beginning of the given drawing's sequence of
drawing items.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#addFirst(edu.rit.draw.Drawing)">addFirst</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theDrawing</code> - Drawing.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This bowed line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theDrawing</TT> is null.</dd></dl>
</li>
</ul>
<a name="writeExternal(java.io.ObjectOutput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeExternal</h4>
<pre>public&nbsp;void&nbsp;writeExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a>&nbsp;out)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Write this bowed line to the given object output stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io">writeExternal</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Object output stream.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
</li>
</ul>
<a name="readExternal(java.io.ObjectInput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readExternal</h4>
<pre>public&nbsp;void&nbsp;readExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a>&nbsp;in)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Read this bowed line from the given object input stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io">readExternal</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/OutlinedItem.html#readExternal(java.io.ObjectInput)">readExternal</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/OutlinedItem.html" title="class in edu.rit.draw.item">OutlinedItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Object input stream.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - Thrown if any class needed to deserialize this line cannot be found.</dd></dl>
</li>
</ul>
<a name="draw(java.awt.Graphics2D)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>draw</h4>
<pre>public&nbsp;void&nbsp;draw(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a>&nbsp;g2d)</pre>
<div class="block">Draw this drawing item in the given graphics context. This method is
allowed to change the graphics context's paint, stroke, and transform,
and it doesn't have to change them back.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../edu/rit/draw/item/DrawingItem.html#draw(java.awt.Graphics2D)">draw</a></code>&nbsp;in class&nbsp;<code><a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>g2d</code> - 2-D graphics context.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Bow.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../edu/rit/draw/item/Arrow.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../edu/rit/draw/item/Bullet.html" title="class in edu.rit.draw.item"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?edu/rit/draw/item/Bow.html" target="_top">Frames</a></li>
<li><a href="Bow.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><FONT SIZE="-2">Copyright &copy; 2013&ndash;2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">&#64;</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
</body>
</html>