1319 lines
76 KiB
HTML
1319 lines
76 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>Ellipse (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="Ellipse (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/Ellipse.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/DrawingItem.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/draw/item/Fill.html" title="interface 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/Ellipse.html" target="_top">Frames</a></li>
|
|
<li><a href="Ellipse.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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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 Ellipse" class="title">Class Ellipse</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><a href="../../../../edu/rit/draw/item/FilledItem.html" title="class in edu.rit.draw.item">edu.rit.draw.item.FilledItem</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../edu/rit/draw/item/ShapeItem.html" title="class in edu.rit.draw.item">edu.rit.draw.item.ShapeItem</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">edu.rit.draw.item.RectangularItem</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.draw.item.Ellipse</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</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">Ellipse</span>
|
|
extends <a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></pre>
|
|
<div class="block">Class Ellipse provides an ellipse <a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a>. A circle is a
|
|
special case of an ellipse with equal width and height.
|
|
<P>
|
|
The static <TT>defaultSize()</TT>, <TT>defaultWidth()</TT>, and
|
|
<TT>defaultHeight()</TT> methods are provided to set the default size, width,
|
|
and height. If an ellipse's size, width, or height is not specified, the
|
|
current default size, width, or height is used.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#edu.rit.draw.item.Ellipse">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"> </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/Ellipse.html#NORMAL_HEIGHT">NORMAL_HEIGHT</a></strong></code>
|
|
<div class="block">The normal height for ellipses (72).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#NORMAL_WIDTH">NORMAL_WIDTH</a></strong></code>
|
|
<div class="block">The normal width for ellipses (72).</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.draw.item.FilledItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/FilledItem.html" title="class in edu.rit.draw.item">FilledItem</a></h3>
|
|
<code><a href="../../../../edu/rit/draw/item/FilledItem.html#NORMAL_FILL">NORMAL_FILL</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.draw.item.OutlinedItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class 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"> </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/Ellipse.html#Ellipse()">Ellipse</a></strong>()</code>
|
|
<div class="block">Construct a new ellipse.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#Ellipse(edu.rit.draw.item.Ellipse)">Ellipse</a></strong>(<a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> theItem)</code>
|
|
<div class="block">Construct a new ellipse with the same outline, fill paint, location,
|
|
and size as the given ellipse.</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"> </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/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#add()">add</a></strong>()</code>
|
|
<div class="block">Add this ellipse 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/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#add(edu.rit.draw.Drawing)">add</a></strong>(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a> theDrawing)</code>
|
|
<div class="block">Add this ellipse 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/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#addFirst()">addFirst</a></strong>()</code>
|
|
<div class="block">Add this ellipse 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/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#addFirst(edu.rit.draw.Drawing)">addFirst</a></strong>(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a> theDrawing)</code>
|
|
<div class="block">Add this ellipse to the beginning 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/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#c(double, double)">c</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the center point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#c(edu.rit.draw.item.Point)">c</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the center point of this ellipse'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/Ellipse.html#circumferencePoint(double)">circumferencePoint</a></strong>(double angle)</code>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center.</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/Ellipse.html#circumferencePoint(double, double)">circumferencePoint</a></strong>(double angle,
|
|
double length)</code>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center, extended outward by the given length.</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/Ellipse.html#circumferencePointDegrees(double)">circumferencePointDegrees</a></strong>(double angle)</code>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center.</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/Ellipse.html#circumferencePointDegrees(double, double)">circumferencePointDegrees</a></strong>(double angle,
|
|
double length)</code>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center, extended outward by the given length.</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/Ellipse.html#defaultHeight()">defaultHeight</a></strong>()</code>
|
|
<div class="block">Returns the default height for ellipses.</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/Ellipse.html#defaultHeight(double)">defaultHeight</a></strong>(double theHeight)</code>
|
|
<div class="block">Set the default height for ellipses.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <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/Ellipse.html#defaultSize()">defaultSize</a></strong>()</code>
|
|
<div class="block">Returns the default size for ellipses.</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/Ellipse.html#defaultSize(edu.rit.draw.item.Size)">defaultSize</a></strong>(<a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a> theSize)</code>
|
|
<div class="block">Set the default size for ellipses.</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/Ellipse.html#defaultWidth()">defaultWidth</a></strong>()</code>
|
|
<div class="block">Returns the default width for ellipses.</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/Ellipse.html#defaultWidth(double)">defaultWidth</a></strong>(double theWidth)</code>
|
|
<div class="block">Set the default width for ellipses.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#diameter(double)">diameter</a></strong>(double theDiameter)</code>
|
|
<div class="block">Set the width and height of this ellipse's bounding box to make this
|
|
ellipse a circle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#e(double, double)">e</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the east middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#e(edu.rit.draw.item.Point)">e</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the east middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#fill(edu.rit.draw.item.Fill)">fill</a></strong>(<a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a> theFill)</code>
|
|
<div class="block">Set this ellipse's fill paint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#height(double)">height</a></strong>(double theHeight)</code>
|
|
<div class="block">Set the height of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#n(double, double)">n</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the north middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#n(edu.rit.draw.item.Point)">n</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the north middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#ne(double, double)">ne</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the northeast corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#ne(edu.rit.draw.item.Point)">ne</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the northeast corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#nw(double, double)">nw</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the northwest corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#nw(edu.rit.draw.item.Point)">nw</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the northwest corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.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> theOutline)</code>
|
|
<div class="block">Set this ellipse's outline.</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/Ellipse.html#perimeterIntersection(double, double)">perimeterIntersection</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Returns the point of intersection between (1) this ellipse's perimeter
|
|
and (2) the line passing through this ellipse's center and the given
|
|
point.</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/Ellipse.html#perimeterIntersection(edu.rit.draw.item.Point)">perimeterIntersection</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> point)</code>
|
|
<div class="block">Returns the point of intersection between (1) this ellipse's perimeter
|
|
and (2) the line passing through this ellipse's center and the given
|
|
point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#s(double, double)">s</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the south middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#s(edu.rit.draw.item.Point)">s</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the south middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#se(double, double)">se</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the southeast corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#se(edu.rit.draw.item.Point)">se</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the southeast corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#size(edu.rit.draw.item.Size)">size</a></strong>(<a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a> theSize)</code>
|
|
<div class="block">Set the size of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#sw(double, double)">sw</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the southwest corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#sw(edu.rit.draw.item.Point)">sw</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the southwest corner point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#w(double, double)">w</a></strong>(double x,
|
|
double y)</code>
|
|
<div class="block">Set the west middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#w(edu.rit.draw.item.Point)">w</a></strong>(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</code>
|
|
<div class="block">Set the west middle point of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/Ellipse.html#width(double)">width</a></strong>(double theWidth)</code>
|
|
<div class="block">Set the width of this ellipse's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.RectangularItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></h3>
|
|
<code><a href="../../../../edu/rit/draw/item/RectangularItem.html#height()">height</a>, <a href="../../../../edu/rit/draw/item/RectangularItem.html#nw()">nw</a>, <a href="../../../../edu/rit/draw/item/RectangularItem.html#readExternal(java.io.ObjectInput)">readExternal</a>, <a href="../../../../edu/rit/draw/item/RectangularItem.html#width()">width</a>, <a href="../../../../edu/rit/draw/item/RectangularItem.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.ShapeItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/ShapeItem.html" title="class in edu.rit.draw.item">ShapeItem</a></h3>
|
|
<code><a href="../../../../edu/rit/draw/item/ShapeItem.html#draw(java.awt.Graphics2D)">draw</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.FilledItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/FilledItem.html" title="class in edu.rit.draw.item">FilledItem</a></h3>
|
|
<code><a href="../../../../edu/rit/draw/item/FilledItem.html#defaultFill()">defaultFill</a>, <a href="../../../../edu/rit/draw/item/FilledItem.html#defaultFill(edu.rit.draw.item.Fill)">defaultFill</a>, <a href="../../../../edu/rit/draw/item/FilledItem.html#fill()">fill</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.draw.item.OutlinedItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class 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 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#size()">size</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 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_WIDTH">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NORMAL_WIDTH</h4>
|
|
<pre>public static final double NORMAL_WIDTH</pre>
|
|
<div class="block">The normal width for ellipses (72). <I>Note:</I> 72 points = 1 inch.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.Ellipse.NORMAL_WIDTH">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="NORMAL_HEIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>NORMAL_HEIGHT</h4>
|
|
<pre>public static final double NORMAL_HEIGHT</pre>
|
|
<div class="block">The normal height for ellipses (72). <I>Note:</I> 72 points = 1 inch.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.Ellipse.NORMAL_HEIGHT">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="Ellipse()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Ellipse</h4>
|
|
<pre>public Ellipse()</pre>
|
|
<div class="block">Construct a new ellipse. The ellipse's northwest corner is located at
|
|
(0,0). The ellipse's size is the default size.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Ellipse(edu.rit.draw.item.Ellipse)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Ellipse</h4>
|
|
<pre>public Ellipse(<a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> theItem)</pre>
|
|
<div class="block">Construct a new ellipse with the same outline, fill paint, location,
|
|
and size as the given ellipse.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theItem</code> - Ellipse.</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>theItem</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="defaultSize()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultSize</h4>
|
|
<pre>public static <a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a> defaultSize()</pre>
|
|
<div class="block">Returns the default size for ellipses.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Default size.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultSize(edu.rit.draw.item.Size)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultSize</h4>
|
|
<pre>public static void defaultSize(<a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a> theSize)</pre>
|
|
<div class="block">Set the default size for ellipses.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theSize</code> - Default size.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if the width or the height of
|
|
<TT>theSize</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultWidth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultWidth</h4>
|
|
<pre>public static double defaultWidth()</pre>
|
|
<div class="block">Returns the default width for ellipses.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Default width.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultWidth(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultWidth</h4>
|
|
<pre>public static void defaultWidth(double theWidth)</pre>
|
|
<div class="block">Set the default width for ellipses.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theWidth</code> - Default width.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theWidth</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultHeight()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultHeight</h4>
|
|
<pre>public static double defaultHeight()</pre>
|
|
<div class="block">Returns the default height for ellipses.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Default height.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultHeight(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultHeight</h4>
|
|
<pre>public static void defaultHeight(double theHeight)</pre>
|
|
<div class="block">Set the default height for ellipses.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theHeight</code> - Default height.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theHeight</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="outline(edu.rit.draw.item.Outline)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>outline</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> outline(<a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a> theOutline)</pre>
|
|
<div class="block">Set this ellipse's outline.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#outline(edu.rit.draw.item.Outline)">outline</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</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 ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="fill(edu.rit.draw.item.Fill)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fill</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> fill(<a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a> theFill)</pre>
|
|
<div class="block">Set this ellipse's fill paint.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#fill(edu.rit.draw.item.Fill)">fill</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theFill</code> - Fill paint, or <TT>Fill.NONE</TT>.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="size(edu.rit.draw.item.Size)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>size</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> size(<a href="../../../../edu/rit/draw/item/Size.html" title="class in edu.rit.draw.item">Size</a> theSize)</pre>
|
|
<div class="block">Set the size of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#size(edu.rit.draw.item.Size)">size</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theSize</code> - Size.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if the width or the height of
|
|
<TT>theSize</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="width(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>width</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> width(double theWidth)</pre>
|
|
<div class="block">Set the width of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#width(double)">width</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theWidth</code> - Width.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theWidth</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="height(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>height</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> height(double theHeight)</pre>
|
|
<div class="block">Set the height of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#height(double)">height</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theHeight</code> - Height.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theHeight</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="diameter(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>diameter</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> diameter(double theDiameter)</pre>
|
|
<div class="block">Set the width and height of this ellipse's bounding box to make this
|
|
ellipse a circle.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDiameter</code> - Diameter.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theDiameter</TT> is less than 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="nw(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>nw</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> nw(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the northwest corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#nw(double, double)">nw</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of northwest corner point.</dd><dd><code>y</code> - Y coordinate of northwest corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="nw(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>nw</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> nw(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the northwest corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#nw(edu.rit.draw.item.Point)">nw</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Northwest corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="n(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>n</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> n(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the north middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#n(double, double)">n</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of north middle point.</dd><dd><code>y</code> - Y coordinate of north middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="n(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>n</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> n(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the north middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#n(edu.rit.draw.item.Point)">n</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - North middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="ne(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ne</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> ne(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the northeast corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#ne(double, double)">ne</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of northeast corner point.</dd><dd><code>y</code> - Y coordinate of northeast corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ne(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ne</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> ne(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the northeast corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#ne(edu.rit.draw.item.Point)">ne</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Northeast corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="w(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>w</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> w(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the west middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#w(double, double)">w</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of west middle point.</dd><dd><code>y</code> - Y coordinate of west middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="w(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>w</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> w(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the west middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#w(edu.rit.draw.item.Point)">w</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - West middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="c(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>c</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> c(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the center point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#c(double, double)">c</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of center point.</dd><dd><code>y</code> - Y coordinate of center point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="c(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>c</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> c(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the center point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#c(edu.rit.draw.item.Point)">c</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Center point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="e(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>e</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> e(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the east middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#e(double, double)">e</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of east middle point.</dd><dd><code>y</code> - Y coordinate of east middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="e(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>e</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> e(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the east middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#e(edu.rit.draw.item.Point)">e</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - East middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="sw(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sw</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> sw(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the southwest corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#sw(double, double)">sw</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of southwest corner point.</dd><dd><code>y</code> - Y coordinate of southwest corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sw(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sw</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> sw(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the southwest corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#sw(edu.rit.draw.item.Point)">sw</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Southwest corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="s(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>s</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> s(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the south middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#s(double, double)">s</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of south middle point.</dd><dd><code>y</code> - Y coordinate of south middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="s(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>s</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> s(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the south middle point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#s(edu.rit.draw.item.Point)">s</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - South middle point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="se(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>se</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> se(double x,
|
|
double y)</pre>
|
|
<div class="block">Set the southeast corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#se(double, double)">se</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of southeast corner point.</dd><dd><code>y</code> - Y coordinate of southeast corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="se(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>se</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> se(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> thePoint)</pre>
|
|
<div class="block">Set the southeast corner point of this ellipse's bounding box.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/RectangularItem.html#se(edu.rit.draw.item.Point)">se</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>thePoint</code> - Southeast corner point.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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="add()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>add</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> add()</pre>
|
|
<div class="block">Add this ellipse 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/RectangularItem.html#add()">add</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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 <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> add(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a> theDrawing)</pre>
|
|
<div class="block">Add this ellipse 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/RectangularItem.html#add(edu.rit.draw.Drawing)">add</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</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 ellipse.</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 <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> addFirst()</pre>
|
|
<div class="block">Add this ellipse 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/RectangularItem.html#addFirst()">addFirst</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</a></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This ellipse.</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 <a href="../../../../edu/rit/draw/item/Ellipse.html" title="class in edu.rit.draw.item">Ellipse</a> addFirst(<a href="../../../../edu/rit/draw/Drawing.html" title="class in edu.rit.draw">Drawing</a> theDrawing)</pre>
|
|
<div class="block">Add this ellipse 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/RectangularItem.html#addFirst(edu.rit.draw.Drawing)">addFirst</a></code> in class <code><a href="../../../../edu/rit/draw/item/RectangularItem.html" title="class in edu.rit.draw.item">RectangularItem</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 ellipse.</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="circumferencePoint(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>circumferencePoint</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> circumferencePoint(double angle)</pre>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center. The point on the ellipse's
|
|
circumference is determined by <TT>angle</TT>, measured in radians. An
|
|
angle of 0 gives the east point; an angle of pi/2 gives the south point;
|
|
an angle of pi gives the west point; an angle of 3*pi/2 gives the north
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>angle</code> - Angle (radians).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point on this ellipse's circumference.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="circumferencePointDegrees(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>circumferencePointDegrees</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> circumferencePointDegrees(double angle)</pre>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center. The point on the ellipse's
|
|
circumference is determined by <TT>angle</TT>, measured in degrees. An
|
|
angle of 0 gives the east point; an angle of 90 gives the south point;
|
|
an angle of 180 gives the west point; an angle of 270 gives the north
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>angle</code> - Angle (degrees).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point on this ellipse's circumference.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="circumferencePoint(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>circumferencePoint</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> circumferencePoint(double angle,
|
|
double length)</pre>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center, extended outward by the given length.
|
|
First, a point on this ellipse's circumference is determined by
|
|
<TT>angle</TT>, measured in radians. An angle of 0 gives the east point;
|
|
an angle of pi/2 gives the south point; an angle of pi gives the west
|
|
point; an angle of 3*pi/2 gives the north point. A line is projected from
|
|
the center of this ellipse, through the point on the circumference, for a
|
|
further distance of <TT>length</TT>; the endpoint of this line is
|
|
returned.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>angle</code> - Angle (radians).</dd><dd><code>length</code> - Length to extend from circumference.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point extended outward from this ellipse's circumference.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="circumferencePointDegrees(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>circumferencePointDegrees</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> circumferencePointDegrees(double angle,
|
|
double length)</pre>
|
|
<div class="block">Returns the point on the circumference of this ellipse at the given angle
|
|
relative to this ellipse's center, extended outward by the given length.
|
|
First, a point on this ellipse's circumference is determined by
|
|
<TT>angle</TT>, measured in degrees. An angle of 0 gives the east point;
|
|
an angle of 90 gives the south point; an angle of 180 gives the west
|
|
point; an angle of 270 gives the north point. A line is projected from
|
|
the center of this ellipse, through the point on the circumference, for a
|
|
further distance of <TT>length</TT>; the endpoint of this line is
|
|
returned.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>angle</code> - Angle (degrees).</dd><dd><code>length</code> - Length to extend from circumference.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point extended outward from this ellipse's circumference.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="perimeterIntersection(edu.rit.draw.item.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>perimeterIntersection</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> perimeterIntersection(<a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> point)</pre>
|
|
<div class="block">Returns the point of intersection between (1) this ellipse's perimeter
|
|
and (2) the line passing through this ellipse's center and the given
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>point</code> - One point on the line.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point of intersection between perimeter and line.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="perimeterIntersection(double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>perimeterIntersection</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Point.html" title="class in edu.rit.draw.item">Point</a> perimeterIntersection(double x,
|
|
double y)</pre>
|
|
<div class="block">Returns the point of intersection between (1) this ellipse's perimeter
|
|
and (2) the line passing through this ellipse's center and the given
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X coordinate of one point on the line.</dd><dd><code>y</code> - Y coordinate of one point on the line.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Point of intersection between perimeter and line.</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/Ellipse.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/DrawingItem.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/draw/item/Fill.html" title="interface 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/Ellipse.html" target="_top">Frames</a></li>
|
|
<li><a href="Ellipse.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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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 © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|