644 lines
32 KiB
HTML
644 lines
32 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>DashedOutline (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="DashedOutline (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/DashedOutline.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/ColorFill.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/draw/item/DottedOutline.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/DashedOutline.html" target="_top">Frames</a></li>
|
|
<li><a href="DashedOutline.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 DashedOutline" class="title">Class DashedOutline</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>edu.rit.draw.item.DashedOutline</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a>, <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">DashedOutline</span>
|
|
extends <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>
|
|
implements <a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a></pre>
|
|
<div class="block">Class DashedOutline provides an object that outlines an area in a <a href="../../../../edu/rit/draw/item/DrawingItem.html" title="class in edu.rit.draw.item">DrawingItem</a> with a square-cornered dashed stroke in a solid color.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#edu.rit.draw.item.DashedOutline">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 float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#NORMAL_DOWN_FACTOR">NORMAL_DOWN_FACTOR</a></strong></code>
|
|
<div class="block">The normal dashed outline down factor (10).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#NORMAL_FILL">NORMAL_FILL</a></strong></code>
|
|
<div class="block">The normal dashed outline fill paint (black).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#NORMAL_OUTLINE">NORMAL_OUTLINE</a></strong></code>
|
|
<div class="block">The normal dashed outline (width = 1, fill paint = black, down factor =
|
|
5, up factor = 3).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#NORMAL_UP_FACTOR">NORMAL_UP_FACTOR</a></strong></code>
|
|
<div class="block">The normal dashed outline up factor (6).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#NORMAL_WIDTH">NORMAL_WIDTH</a></strong></code>
|
|
<div class="block">The normal dashed outline width (1).</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.draw.item.Outline">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface edu.rit.draw.item.<a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a></h3>
|
|
<code><a href="../../../../edu/rit/draw/item/Outline.html#NONE">NONE</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/DashedOutline.html#DashedOutline()">DashedOutline</a></strong>()</code>
|
|
<div class="block">Construct a new dashed outline object with the normal width (1), the
|
|
normal fill paint (black), the normal down factor (10), and the normal up
|
|
factor (6).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#DashedOutline(edu.rit.draw.item.DashedOutline)">DashedOutline</a></strong>(<a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> theOutline)</code>
|
|
<div class="block">Construct a new dashed outline object with the same width, fill paint,
|
|
down factor, and up factor as the given dashed outline object.</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>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#down()">down</a></strong>()</code>
|
|
<div class="block">Returns this dashed outline object's down factor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#down(float)">down</a></strong>(float theDownFactor)</code>
|
|
<div class="block">Set this dashed outline object's down factor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#fill()">fill</a></strong>()</code>
|
|
<div class="block">Returns this dashed outline object's fill paint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.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 dashed outline object's fill paint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#getStrokeWidth()">getStrokeWidth</a></strong>()</code>
|
|
<div class="block">Returns the stroke width of this outline.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.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> in)</code>
|
|
<div class="block">Read this dashed outline object from the given object input stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#setGraphicsContext(java.awt.Graphics2D)">setGraphicsContext</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> g2d)</code>
|
|
<div class="block">Set the given graphics context's stroke and paint attributes as specified
|
|
by this outline object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#up()">up</a></strong>()</code>
|
|
<div class="block">Returns this dashed outline object's up factor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#up(float)">up</a></strong>(float theUpFactor)</code>
|
|
<div class="block">Set this dashed outline object's up factor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#width()">width</a></strong>()</code>
|
|
<div class="block">Returns this dashed outline object's width.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.html#width(float)">width</a></strong>(float theWidth)</code>
|
|
<div class="block">Set this dashed outline object's width.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/draw/item/DashedOutline.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> out)</code>
|
|
<div class="block">Write this dashed outline object to the given object output stream.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<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 float NORMAL_WIDTH</pre>
|
|
<div class="block">The normal dashed outline width (1).</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.DashedOutline.NORMAL_WIDTH">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="NORMAL_FILL">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NORMAL_FILL</h4>
|
|
<pre>public static final <a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a> NORMAL_FILL</pre>
|
|
<div class="block">The normal dashed outline fill paint (black).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="NORMAL_DOWN_FACTOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NORMAL_DOWN_FACTOR</h4>
|
|
<pre>public static final float NORMAL_DOWN_FACTOR</pre>
|
|
<div class="block">The normal dashed outline down factor (10).</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.DashedOutline.NORMAL_DOWN_FACTOR">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="NORMAL_UP_FACTOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NORMAL_UP_FACTOR</h4>
|
|
<pre>public static final float NORMAL_UP_FACTOR</pre>
|
|
<div class="block">The normal dashed outline up factor (6).</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.draw.item.DashedOutline.NORMAL_UP_FACTOR">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="NORMAL_OUTLINE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>NORMAL_OUTLINE</h4>
|
|
<pre>public static final <a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> NORMAL_OUTLINE</pre>
|
|
<div class="block">The normal dashed outline (width = 1, fill paint = black, down factor =
|
|
5, up factor = 3).</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="DashedOutline()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DashedOutline</h4>
|
|
<pre>public DashedOutline()</pre>
|
|
<div class="block">Construct a new dashed outline object with the normal width (1), the
|
|
normal fill paint (black), the normal down factor (10), and the normal up
|
|
factor (6).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="DashedOutline(edu.rit.draw.item.DashedOutline)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>DashedOutline</h4>
|
|
<pre>public DashedOutline(<a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> theOutline)</pre>
|
|
<div class="block">Construct a new dashed outline object with the same width, fill paint,
|
|
down factor, and up factor as the given dashed outline object.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theOutline</code> - Dashed outline object.</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>theOutline</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="width()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>width</h4>
|
|
<pre>public float width()</pre>
|
|
<div class="block">Returns this dashed outline object's width.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Width.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="width(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>width</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> width(float theWidth)</pre>
|
|
<div class="block">Set this dashed outline object's width.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theWidth</code> - Width.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This dashed outline object.</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 or
|
|
equal to 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="fill()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fill</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/Fill.html" title="interface in edu.rit.draw.item">Fill</a> fill()</pre>
|
|
<div class="block">Returns this dashed outline object's fill paint.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Fill paint.</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/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</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 dashed outline object's fill paint.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFill</code> - Fill paint.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This dashed outline object.</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>theFill</TT> is null.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="down()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>down</h4>
|
|
<pre>public float down()</pre>
|
|
<div class="block">Returns this dashed outline object's down factor. The down factor is the
|
|
length, relative to this dashed outline object's width, that the "pen" is
|
|
"down" drawing a dash.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Down factor.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="down(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>down</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> down(float theDownFactor)</pre>
|
|
<div class="block">Set this dashed outline object's down factor. The down factor is the
|
|
length, relative to this dashed outline object's width, that the "pen" is
|
|
"down" drawing a dash.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDownFactor</code> - Down factor.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This dashed outline object.</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>theDownFactor</TT> is less than
|
|
or equal to 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="up()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>up</h4>
|
|
<pre>public float up()</pre>
|
|
<div class="block">Returns this dashed outline object's up factor. The up factor is the
|
|
length, relative to this dashed outline object's width, that the "pen" is
|
|
"up" between dashes.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Up factor.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="up(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>up</h4>
|
|
<pre>public <a href="../../../../edu/rit/draw/item/DashedOutline.html" title="class in edu.rit.draw.item">DashedOutline</a> up(float theUpFactor)</pre>
|
|
<div class="block">Set this dashed outline object's up factor. The down factor is the
|
|
length, relative to this dashed outline object's width, that the "pen" is
|
|
"up" between dashes.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theUpFactor</code> - Up factor.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This dashed outline object.</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>theUpFactor</TT> is less than
|
|
or equal to 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getStrokeWidth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStrokeWidth</h4>
|
|
<pre>public float getStrokeWidth()</pre>
|
|
<div class="block">Returns the stroke width of this outline.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/Outline.html#getStrokeWidth()">getStrokeWidth</a></code> in interface <code><a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Stroke width.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGraphicsContext(java.awt.Graphics2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGraphicsContext</h4>
|
|
<pre>public void setGraphicsContext(<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> g2d)</pre>
|
|
<div class="block">Set the given graphics context's stroke and paint attributes as specified
|
|
by this outline object.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/draw/item/Outline.html#setGraphicsContext(java.awt.Graphics2D)">setGraphicsContext</a></code> in interface <code><a href="../../../../edu/rit/draw/item/Outline.html" title="interface in edu.rit.draw.item">Outline</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>g2d</code> - 2-D graphics context.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeExternal(java.io.ObjectOutput)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeExternal</h4>
|
|
<pre>public void 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> 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 dashed outline object 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> in interface <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><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="blockListLast">
|
|
<li class="blockList">
|
|
<h4>readExternal</h4>
|
|
<pre>public void 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> 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 dashed outline object 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> in interface <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><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 dashed outline object
|
|
cannot be found.</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/DashedOutline.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/ColorFill.html" title="class in edu.rit.draw.item"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/draw/item/DottedOutline.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/DashedOutline.html" target="_top">Frames</a></li>
|
|
<li><a href="DashedOutline.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>
|