📄 marker.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setLabelOffsetType(org.jfree.ui.LengthAdjustmentType)">setLabelOffsetType</A></B>(org.jfree.ui.LengthAdjustmentType adj)</CODE><BR> Sets the label offset type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setLabelPaint(java.awt.Paint)">setLabelPaint</A></B>(java.awt.Paint paint)</CODE><BR> Sets the label paint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setLabelTextAnchor(org.jfree.ui.TextAnchor)">setLabelTextAnchor</A></B>(org.jfree.ui.TextAnchor anchor)</CODE><BR> Sets the label text anchor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setOutlinePaint(java.awt.Paint)">setOutlinePaint</A></B>(java.awt.Paint paint)</CODE><BR> Sets the outline paint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setOutlineStroke(java.awt.Stroke)">setOutlineStroke</A></B>(java.awt.Stroke stroke)</CODE><BR> Sets the outline stroke.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setPaint(java.awt.Paint)">setPaint</A></B>(java.awt.Paint paint)</CODE><BR> Sets the paint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/Marker.html#setStroke(java.awt.Stroke)">setStroke</A></B>(java.awt.Stroke stroke)</CODE><BR> Sets the stroke.</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>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= 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="Marker()"><!-- --></A><H3>Marker</H3><PRE>protected <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.133"><B>Marker</B></A>()</PRE><DL><DD>Creates a new marker with default attributes.<P></DL><HR><A NAME="Marker(java.awt.Paint)"><!-- --></A><H3>Marker</H3><PRE>protected <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.142"><B>Marker</B></A>(java.awt.Paint paint)</PRE><DL><DD>Constructs a new marker.<P><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="Marker(java.awt.Paint, java.awt.Stroke, java.awt.Paint, java.awt.Stroke, float)"><!-- --></A><H3>Marker</H3><PRE>protected <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.161"><B>Marker</B></A>(java.awt.Paint paint, java.awt.Stroke stroke, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, float alpha)</PRE><DL><DD>Constructs a new marker.<P><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).<DD><CODE>stroke</CODE> - the stroke (<code>null</code> not permitted).<DD><CODE>outlinePaint</CODE> - the outline paint (<code>null</code> permitted).<DD><CODE>outlineStroke</CODE> - the outline stroke (<code>null</code> permitted).<DD><CODE>alpha</CODE> - the alpha transparency (must be in the range 0.0f to 1.0f).<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>paint</code> or <code>stroke</code> is <code>null</code>, or <code>alpha</code> is not in the specified range.</DL></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="getPaint()"><!-- --></A><H3>getPaint</H3><PRE>public java.awt.Paint <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.197"><B>getPaint</B></A>()</PRE><DL><DD>Returns the paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint (never <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setPaint(java.awt.Paint)"><CODE>setPaint(Paint)</CODE></A></DL></DD></DL><HR><A NAME="setPaint(java.awt.Paint)"><!-- --></A><H3>setPaint</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.208"><B>setPaint</B></A>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#getPaint()"><CODE>getPaint()</CODE></A></DL></DD></DL><HR><A NAME="getStroke()"><!-- --></A><H3>getStroke</H3><PRE>public java.awt.Stroke <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.222"><B>getStroke</B></A>()</PRE><DL><DD>Returns the stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The stroke (never <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setStroke(java.awt.Stroke)"><CODE>setStroke(Stroke)</CODE></A></DL></DD></DL><HR><A NAME="setStroke(java.awt.Stroke)"><!-- --></A><H3>setStroke</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.233"><B>setStroke</B></A>(java.awt.Stroke stroke)</PRE><DL><DD>Sets the stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke (<code>null</code> not permitted).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#getStroke()"><CODE>getStroke()</CODE></A></DL></DD></DL><HR><A NAME="getOutlinePaint()"><!-- --></A><H3>getOutlinePaint</H3><PRE>public java.awt.Paint <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.247"><B>getOutlinePaint</B></A>()</PRE><DL><DD>Returns the outline paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The outline paint (possibly <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setOutlinePaint(java.awt.Paint)"><CODE>setOutlinePaint(Paint)</CODE></A></DL></DD></DL><HR><A NAME="setOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setOutlinePaint</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.258"><B>setOutlinePaint</B></A>(java.awt.Paint paint)</PRE><DL><DD>Sets the outline paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> permitted).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#getOutlinePaint()"><CODE>getOutlinePaint()</CODE></A></DL></DD></DL><HR><A NAME="getOutlineStroke()"><!-- --></A><H3>getOutlineStroke</H3><PRE>public java.awt.Stroke <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.269"><B>getOutlineStroke</B></A>()</PRE><DL><DD>Returns the outline stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The outline stroke (possibly <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setOutlineStroke(java.awt.Stroke)"><CODE>setOutlineStroke(Stroke)</CODE></A></DL></DD></DL><HR><A NAME="setOutlineStroke(java.awt.Stroke)"><!-- --></A><H3>setOutlineStroke</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.280"><B>setOutlineStroke</B></A>(java.awt.Stroke stroke)</PRE><DL><DD>Sets the outline stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke (<code>null</code> permitted).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#getOutlineStroke()"><CODE>getOutlineStroke()</CODE></A></DL></DD></DL><HR><A NAME="getAlpha()"><!-- --></A><H3>getAlpha</H3><PRE>public float <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.291"><B>getAlpha</B></A>()</PRE><DL><DD>Returns the alpha transparency.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The alpha transparency.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setAlpha(float)"><CODE>setAlpha(float)</CODE></A></DL></DD></DL><HR><A NAME="setAlpha(float)"><!-- --></A><H3>setAlpha</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.308"><B>setAlpha</B></A>(float alpha)</PRE><DL><DD>Sets the alpha transparency that should be used when drawing the marker. This is a value in the range 0.0f (completely transparent) to 1.0f (completely opaque).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alpha</CODE> - the alpha transparency (must be in the range 0.0f to 1.0f).<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>alpha</code> is not in the specified range.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#getAlpha()"><CODE>getAlpha()</CODE></A></DL></DD></DL><HR><A NAME="getLabel()"><!-- --></A><H3>getLabel</H3><PRE>public java.lang.String <A HREF="../../../../src-html/org/jfree/chart/plot/Marker.html#line.322"><B>getLabel</B></A>()</PRE><DL><DD>Returns the label (if <code>null</code> no label is displayed).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The label (possibly <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/plot/Marker.html#setLabel(java.lang.String)"><CODE>setLabel(String)</CODE></A></DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -