📄 snake2dscale.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="bestAttemptColor"><!-- --></A><H3>bestAttemptColor</H3><PRE>public java.awt.Color <B>bestAttemptColor</B></PRE><DL><DD>This is the color with which this scale will be drawn if it is part of the optimal skin found so far in the course of the optimization. It is also the color with which it will be drawn during the interactive session. If <code>bestAttempt</code> is <code>null</code>, the color returned by the method <code>ij.gui.Roi.getColor()</code> will be used instead.<P><DL></DL></DL><HR><A NAME="currentAttemptColor"><!-- --></A><H3>currentAttemptColor</H3><PRE>public java.awt.Color <B>currentAttemptColor</B></PRE><DL><DD>This is the color with which this scale will be drawn if it is part of the skin being currently examined in the course of the optimization. It is ignored during the interactive session. If <code>currentAttempt</code> is <code>null</code>, the color that is most complementary to the color returned by the method <code>ij.gui.Roi.getColor()</code> will be used instead.<P><DL></DL></DL><HR><A NAME="closed"><!-- --></A><H3>closed</H3><PRE>public boolean <B>closed</B></PRE><DL><DD>This flag is used to determine how to draw the outline of this scale. If it is set to <code>true</code>, then the first and the last point of the polygon are joined. Otherwise, if it is set to <code>false</code>, then the first and the last point of the polygon are not joined. A closed scale can be filled.<P><DL><DT><B>See Also:</B><DD><A HREF="../snake2D/Snake2DScale.html#filled"><CODE>filled</CODE></A></DL></DL><HR><A NAME="filled"><!-- --></A><H3>filled</H3><PRE>public boolean <B>filled</B></PRE><DL><DD>This flag is used to determine how to draw the interior of this scale. If it is set to <code>true</code>, then the scale is filled. Otherwise, if it is set to <code>false</code>, then only the outline of the scale is drawn. The status of this flag is honored only when the scale is closed, as indicated by the <code>closed</code> flag.<P><DL><DT><B>See Also:</B><DD><A HREF="../snake2D/Snake2DScale.html#closed"><CODE>closed</CODE></A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Snake2DScale()"><!-- --></A><H3>Snake2DScale</H3><PRE>public <B>Snake2DScale</B>()</PRE><DL><DD>This constructor builds a scale with default values. Points can be added with the method <code>add()</code> of the class <code>Polygon</code>. The default colors <code>bestAttempt</code> and <code>currentAttempt</code> are both set to <code>null</code>. The scale is closed by default, and it is not filled.<P></DL><HR><A NAME="Snake2DScale(java.awt.Color, java.awt.Color, boolean, boolean)"><!-- --></A><H3>Snake2DScale</H3><PRE>public <B>Snake2DScale</B>(java.awt.Color bestAttemptColor, java.awt.Color currentAttemptColor, boolean closed, boolean filled)</PRE><DL><DD>This constructor builds a scale with the provided colors and flags.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>This method returns text-based information about this object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../snake2D/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../snake2D/Snake2DNode.html" title="class in snake2D"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?snake2D/Snake2DScale.html" target="_top"><B>FRAMES</B></A> <A HREF="Snake2DScale.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -