📄 clippath.html
字号:
<BR> Sets the composite.</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/ClipPath.html#setDrawPaint(java.awt.Paint)">setDrawPaint</A></B>(java.awt.Paint drawPaint)</CODE><BR> Sets the drawPaint.</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/ClipPath.html#setDrawPath(boolean)">setDrawPath</A></B>(boolean drawPath)</CODE><BR> Sets the drawPath.</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/ClipPath.html#setDrawStroke(java.awt.Stroke)">setDrawStroke</A></B>(java.awt.Stroke drawStroke)</CODE><BR> Sets the drawStroke.</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/ClipPath.html#setFillPaint(java.awt.Paint)">setFillPaint</A></B>(java.awt.Paint fillPaint)</CODE><BR> Sets the fillPaint.</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/ClipPath.html#setFillPath(boolean)">setFillPath</A></B>(boolean fillPath)</CODE><BR> Sets the fillPath.</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/ClipPath.html#setXValue(double[])">setXValue</A></B>(double[] xValue)</CODE><BR> Sets the xValue.</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/ClipPath.html#setYValue(double[])">setYValue</A></B>(double[] yValue)</CODE><BR> Sets the yValue.</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, 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="ClipPath()"><!-- --></A><H3>ClipPath</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.102"><B>ClipPath</B></A>()</PRE><DL><DD>Constructor for ClipPath.<P></DL><HR><A NAME="ClipPath(double[], double[])"><!-- --></A><H3>ClipPath</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.116"><B>ClipPath</B></A>(double[] xValue, double[] yValue)</PRE><DL><DD>Constructor for ClipPath. Default values are assumed for the fillPath and drawPath options as false and true respectively. The fillPaint is set to Color.GRAY, the drawColor is Color.BLUE, the stroke is BasicStroke(1) and the composite is AlphaComposite.Src.<P><DL><DT><B>Parameters:</B><DD><CODE>xValue</CODE> - x coordinates of curved to be created<DD><CODE>yValue</CODE> - y coordinates of curved to be created</DL></DL><HR><A NAME="ClipPath(double[], double[], boolean, boolean, boolean)"><!-- --></A><H3>ClipPath</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.132"><B>ClipPath</B></A>(double[] xValue, double[] yValue, boolean clip, boolean fillPath, boolean drawPath)</PRE><DL><DD>Constructor for ClipPath. The fillPaint is set to Color.GRAY, the drawColor is Color.BLUE, the stroke is BasicStroke(1) and the composite is AlphaComposite.Src.<P><DL><DT><B>Parameters:</B><DD><CODE>xValue</CODE> - x coordinates of curved to be created<DD><CODE>yValue</CODE> - y coordinates of curved to be created<DD><CODE>clip</CODE> - clip?<DD><CODE>fillPath</CODE> - whether the path is to filled<DD><CODE>drawPath</CODE> - whether the path is to drawn as an outline</DL></DL><HR><A NAME="ClipPath(double[], double[], boolean, boolean, java.awt.Paint, java.awt.Paint, java.awt.Stroke, java.awt.Composite)"><!-- --></A><H3>ClipPath</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.159"><B>ClipPath</B></A>(double[] xValue, double[] yValue, boolean fillPath, boolean drawPath, java.awt.Paint fillPaint, java.awt.Paint drawPaint, java.awt.Stroke drawStroke, java.awt.Composite composite)</PRE><DL><DD>Constructor for ClipPath.<P><DL><DT><B>Parameters:</B><DD><CODE>xValue</CODE> - x coordinates of curved to be created<DD><CODE>yValue</CODE> - y coordinates of curved to be created<DD><CODE>fillPath</CODE> - whether the path is to filled<DD><CODE>drawPath</CODE> - whether the path is to drawn as an outline<DD><CODE>fillPaint</CODE> - the fill paint<DD><CODE>drawPaint</CODE> - the outline stroke color<DD><CODE>drawStroke</CODE> - the stroke style<DD><CODE>composite</CODE> - the composite rule</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="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>draw</H3><PRE>public java.awt.geom.GeneralPath <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.186"><B>draw</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> horizontalAxis, <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> verticalAxis)</PRE><DL><DD>Draws the clip path.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - current graphics2D.<DD><CODE>dataArea</CODE> - the dataArea that the plot is being draw in.<DD><CODE>horizontalAxis</CODE> - the horizontal axis.<DD><CODE>verticalAxis</CODE> - the vertical axis.<DT><B>Returns:</B><DD>The GeneralPath defining the outline</DL></DD></DL><HR><A NAME="generateClipPath(java.awt.geom.Rectangle2D, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>generateClipPath</H3><PRE>public java.awt.geom.GeneralPath <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.231"><B>generateClipPath</B></A>(java.awt.geom.Rectangle2D dataArea, <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> horizontalAxis, <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> verticalAxis)</PRE><DL><DD>Generates the clip path.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataArea</CODE> - the dataArea that the plot is being draw in.<DD><CODE>horizontalAxis</CODE> - the horizontal axis.<DD><CODE>verticalAxis</CODE> - the vertical axis.<DT><B>Returns:</B><DD>The GeneralPath defining the outline</DL></DD></DL><HR><A NAME="getComposite()"><!-- --></A><H3>getComposite</H3><PRE>public java.awt.Composite <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.263"><B>getComposite</B></A>()</PRE><DL><DD>Returns the composite.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Composite</DL></DD></DL><HR><A NAME="getDrawPaint()"><!-- --></A><H3>getDrawPaint</H3><PRE>public java.awt.Paint <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.272"><B>getDrawPaint</B></A>()</PRE><DL><DD>Returns the drawPaint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Paint</DL></DD></DL><HR><A NAME="isDrawPath()"><!-- --></A><H3>isDrawPath</H3><PRE>public boolean <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.281"><B>isDrawPath</B></A>()</PRE><DL><DD>Returns the drawPath.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean</DL></DD></DL><HR><A NAME="getDrawStroke()"><!-- --></A><H3>getDrawStroke</H3><PRE>public java.awt.Stroke <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.290"><B>getDrawStroke</B></A>()</PRE><DL><DD>Returns the drawStroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Stroke</DL></DD></DL><HR><A NAME="getFillPaint()"><!-- --></A><H3>getFillPaint</H3><PRE>public java.awt.Paint <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.299"><B>getFillPaint</B></A>()</PRE><DL><DD>Returns the fillPaint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Paint</DL></DD></DL><HR><A NAME="isFillPath()"><!-- --></A><H3>isFillPath</H3><PRE>public boolean <A HREF="../../../src-html/org/jfree/chart/ClipPath.html#line.308"><B>isFillPath</B></A>()</PRE><DL><DD>Returns the fillPath.<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -