📄 lineseparator.html
字号:
<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(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A> canvas, float llx, float lly, float urx, float ury, float y)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)">DrawInterface</A></CODE></B></DD><DD>Implement this method if you want to draw something at the current Y position (for instance a line).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)">draw</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw">DrawInterface</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)">draw</A></CODE> in class <CODE><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html" title="class in com.lowagie.text.pdf.draw">VerticalPositionMark</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>canvas</CODE> - the canvas on which you can draw<DD><CODE>llx</CODE> - the x coordinate of the left page margin<DD><CODE>lly</CODE> - the y coordinate of the bottom page margin<DD><CODE>urx</CODE> - the x coordinate of the right page margin<DD><CODE>ury</CODE> - the y coordinate of the top page margin<DD><CODE>y</CODE> - the current y position on the page<DT><B>See Also:</B><DD><A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)"><CODE>DrawInterface.draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)</CODE></A></DL></DD></DL><HR><A NAME="drawLine(com.lowagie.text.pdf.PdfContentByte, float, float, float)"><!-- --></A><H3>drawLine</H3><PRE>public void <B>drawLine</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A> canvas, float leftX, float rightX, float y)</PRE><DL><DD>Draws a horizontal line.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>canvas</CODE> - the canvas to draw on<DD><CODE>leftX</CODE> - the left x coordinate<DD><CODE>rightX</CODE> - the right x coordindate<DD><CODE>y</CODE> - the y coordinate</DL></DD></DL><HR><A NAME="getLineWidth()"><!-- --></A><H3>getLineWidth</H3><PRE>public float <B>getLineWidth</B>()</PRE><DL><DD>Getter for the line width.<P><DD><DL><DT><B>Returns:</B><DD>the thickness of the line that will be drawn.</DL></DD></DL><HR><A NAME="setLineWidth(float)"><!-- --></A><H3>setLineWidth</H3><PRE>public void <B>setLineWidth</B>(float lineWidth)</PRE><DL><DD>Setter for the line width.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>lineWidth</CODE> - the thickness of the line that will be drawn.</DL></DD></DL><HR><A NAME="getPercentage()"><!-- --></A><H3>getPercentage</H3><PRE>public float <B>getPercentage</B>()</PRE><DL><DD>Setter for the width as a percentage of the available width.<P><DD><DL><DT><B>Returns:</B><DD>a width percentage</DL></DD></DL><HR><A NAME="setPercentage(float)"><!-- --></A><H3>setPercentage</H3><PRE>public void <B>setPercentage</B>(float percentage)</PRE><DL><DD>Setter for the width as a percentage of the available width.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>percentage</CODE> - a width percentage</DL></DD></DL><HR><A NAME="getLineColor()"><!-- --></A><H3>getLineColor</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>getLineColor</B>()</PRE><DL><DD>Getter for the color of the line that will be drawn.<P><DD><DL><DT><B>Returns:</B><DD>a color</DL></DD></DL><HR><A NAME="setLineColor(java.awt.Color)"><!-- --></A><H3>setLineColor</H3><PRE>public void <B>setLineColor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> color)</PRE><DL><DD>Setter for the color of the line that will be drawn.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - a color</DL></DD></DL><HR><A NAME="getAlignment()"><!-- --></A><H3>getAlignment</H3><PRE>public int <B>getAlignment</B>()</PRE><DL><DD>Getter for the alignment of the line.<P><DD><DL><DT><B>Returns:</B><DD>an alignment value</DL></DD></DL><HR><A NAME="setAlignment(int)"><!-- --></A><H3>setAlignment</H3><PRE>public void <B>setAlignment</B>(int align)</PRE><DL><DD>Setter for the alignment of the line.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>align</CODE> - an alignment value</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/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw"><B>PREV CLASS</B></A> <A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html" title="class in com.lowagie.text.pdf.draw"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/lowagie/text/pdf/draw/LineSeparator.html" target="_top"><B>FRAMES</B></A> <A HREF="LineSeparator.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 + -