⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clippath.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the composite.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setDrawPaint(java.awt.Paint)">setDrawPaint</A></B>(java.awt.Paint&nbsp;drawPaint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the drawPaint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setDrawPath(boolean)">setDrawPath</A></B>(boolean&nbsp;drawPath)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the drawPath.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setDrawStroke(java.awt.Stroke)">setDrawStroke</A></B>(java.awt.Stroke&nbsp;drawStroke)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the drawStroke.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setFillPaint(java.awt.Paint)">setFillPaint</A></B>(java.awt.Paint&nbsp;fillPaint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fillPaint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setFillPath(boolean)">setFillPath</A></B>(boolean&nbsp;fillPath)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fillPath.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setXValue(double[])">setXValue</A></B>(double[]&nbsp;xValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the xValue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ClipPath.html#setYValue(double[])">setYValue</A></B>(double[]&nbsp;yValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the yValue.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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[]&nbsp;xValue,                double[]&nbsp;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[]&nbsp;xValue,                double[]&nbsp;yValue,                boolean&nbsp;clip,                boolean&nbsp;fillPath,                boolean&nbsp;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[]&nbsp;xValue,                double[]&nbsp;yValue,                boolean&nbsp;fillPath,                boolean&nbsp;drawPath,                java.awt.Paint&nbsp;fillPaint,                java.awt.Paint&nbsp;drawPaint,                java.awt.Stroke&nbsp;drawStroke,                java.awt.Composite&nbsp;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&nbsp;g2,                                      java.awt.geom.Rectangle2D&nbsp;dataArea,                                      <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;horizontalAxis,                                      <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;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&nbsp;dataArea,                                                  <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;horizontalAxis,                                                  <A HREF="../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;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 + -