📄 polylineshapeiterator.html
字号:
<B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="poly"><!-- --></A><H3>poly</H3><PRE>protected <A HREF="../../../../../com/lowagie/text/pdf/internal/PolylineShape.html" title="class in com.lowagie.text.pdf.internal">PolylineShape</A> <B>poly</B></PRE><DL><DD>The polyline over which we are going to iterate.<P><DL></DL></DL><HR><A NAME="affine"><!-- --></A><H3>affine</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html?is-external=true" title="class or interface in java.awt.geom">AffineTransform</A> <B>affine</B></PRE><DL><DD>an affine transformation to be performed on the polyline.<P><DL></DL></DL><HR><A NAME="index"><!-- --></A><H3>index</H3><PRE>protected int <B>index</B></PRE><DL><DD>the index of the current segment in the iterator.<P><DL></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="PolylineShapeIterator(com.lowagie.text.pdf.internal.PolylineShape, java.awt.geom.AffineTransform)"><!-- --></A><H3>PolylineShapeIterator</H3><PRE><B>PolylineShapeIterator</B>(<A HREF="../../../../../com/lowagie/text/pdf/internal/PolylineShape.html" title="class in com.lowagie.text.pdf.internal">PolylineShape</A> l, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html?is-external=true" title="class or interface in java.awt.geom">AffineTransform</A> at)</PRE><DL><DD>Creates a PolylineShapeIterator.<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="currentSegment(double[])"><!-- --></A><H3>currentSegment</H3><PRE>public int <B>currentSegment</B>(double[] coords)</PRE><DL><DD>Returns the coordinates and type of the current path segment in the iteration. The return value is the path segment type: SEG_MOVETO, SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, or SEG_CLOSE. A double array of length 6 must be passed in and may be used to store the coordinates of the point(s). Each point is stored as a pair of double x,y coordinates. SEG_MOVETO and SEG_LINETO types will return one point, SEG_QUADTO will return two points, SEG_CUBICTO will return 3 points and SEG_CLOSE will not return any points.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#currentSegment(double[])" title="class or interface in java.awt.geom">currentSegment</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true" title="class or interface in java.awt.geom">PathIterator</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_MOVETO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_MOVETO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_LINETO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_LINETO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_QUADTO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_QUADTO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_CUBICTO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_CUBICTO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_CLOSE" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_CLOSE</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#currentSegment(double[])" title="class or interface in java.awt.geom"><CODE>PathIterator.currentSegment(double[])</CODE></A></DL></DD></DL><HR><A NAME="currentSegment(float[])"><!-- --></A><H3>currentSegment</H3><PRE>public int <B>currentSegment</B>(float[] coords)</PRE><DL><DD>Returns the coordinates and type of the current path segment in the iteration. The return value is the path segment type: SEG_MOVETO, SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, or SEG_CLOSE. A double array of length 6 must be passed in and may be used to store the coordinates of the point(s). Each point is stored as a pair of double x,y coordinates. SEG_MOVETO and SEG_LINETO types will return one point, SEG_QUADTO will return two points, SEG_CUBICTO will return 3 points and SEG_CLOSE will not return any points.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#currentSegment(float[])" title="class or interface in java.awt.geom">currentSegment</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true" title="class or interface in java.awt.geom">PathIterator</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_MOVETO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_MOVETO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_LINETO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_LINETO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_QUADTO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_QUADTO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_CUBICTO" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_CUBICTO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#SEG_CLOSE" title="class or interface in java.awt.geom"><CODE>PathIterator.SEG_CLOSE</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#currentSegment(float[])" title="class or interface in java.awt.geom"><CODE>PathIterator.currentSegment(float[])</CODE></A></DL></DD></DL><HR><A NAME="getWindingRule()"><!-- --></A><H3>getWindingRule</H3><PRE>public int <B>getWindingRule</B>()</PRE><DL><DD>Return the winding rule for determining the insideness of the path.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#getWindingRule()" title="class or interface in java.awt.geom">getWindingRule</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true" title="class or interface in java.awt.geom">PathIterator</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#WIND_EVEN_ODD" title="class or interface in java.awt.geom"><CODE>PathIterator.WIND_EVEN_ODD</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#WIND_NON_ZERO" title="class or interface in java.awt.geom"><CODE>PathIterator.WIND_NON_ZERO</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#getWindingRule()" title="class or interface in java.awt.geom"><CODE>PathIterator.getWindingRule()</CODE></A></DL></DD></DL><HR><A NAME="isDone()"><!-- --></A><H3>isDone</H3><PRE>public boolean <B>isDone</B>()</PRE><DL><DD>Tests if there are more points to read.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#isDone()" title="class or interface in java.awt.geom">isDone</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true" title="class or interface in java.awt.geom">PathIterator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if there are more points to read<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#isDone()" title="class or interface in java.awt.geom"><CODE>PathIterator.isDone()</CODE></A></DL></DD></DL><HR><A NAME="next()"><!-- --></A><H3>next</H3><PRE>public void <B>next</B>()</PRE><DL><DD>Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#next()" title="class or interface in java.awt.geom">next</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true" title="class or interface in java.awt.geom">PathIterator</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/PathIterator.html?is-external=true#next()" title="class or interface in java.awt.geom"><CODE>PathIterator.next()</CODE></A></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="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/lowagie/text/pdf/internal/PolylineShape.html" title="class in com.lowagie.text.pdf.internal"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/lowagie/text/pdf/internal/PolylineShapeIterator.html" target="_top"><B>FRAMES</B></A> <A HREF="PolylineShapeIterator.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 + -