📄 verticalpositionmark.html
字号:
<BR> Gets all the chunks in this element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw">DrawInterface</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#getDrawInterface()">getDrawInterface</A></B>()</CODE><BR> Getter for the interface with the overruling draw() method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#getOffset()">getOffset</A></B>()</CODE><BR> Getter for the offset relative to the baseline of the current line.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#isContent()">isContent</A></B>()</CODE><BR> Checks if this element is a content object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#isNestable()">isNestable</A></B>()</CODE><BR> Checks if this element is nestable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#process(com.lowagie.text.ElementListener)">process</A></B>(<A HREF="../../../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</CODE><BR> Processes the element by adding it (or the different parts) to an <CODE> ElementListener</CODE>.</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="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#setDrawInterface(com.lowagie.text.pdf.draw.DrawInterface)">setDrawInterface</A></B>(<A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw">DrawInterface</A> drawInterface)</CODE><BR> Setter for the interface with the overruling draw() method.</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="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#setOffset(float)">setOffset</A></B>(float offset)</CODE><BR> Setter for the offset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/draw/VerticalPositionMark.html#type()">type</A></B>()</CODE><BR> Gets the type of the text element.</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.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.lowagie.text.Element"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.lowagie.text.<A HREF="../../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/lowagie/text/Element.html#toString()">toString</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="drawInterface"><!-- --></A><H3>drawInterface</H3><PRE>protected <A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw">DrawInterface</A> <B>drawInterface</B></PRE><DL><DD>Another implementation of the DrawInterface; its draw method will overrule LineSeparator.draw().<P><DL></DL></DL><HR><A NAME="offset"><!-- --></A><H3>offset</H3><PRE>protected float <B>offset</B></PRE><DL><DD>The offset for the line.<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="VerticalPositionMark()"><!-- --></A><H3>VerticalPositionMark</H3><PRE>public <B>VerticalPositionMark</B>()</PRE><DL><DD>Creates a vertical position mark that won't draw anything unless you define a DrawInterface.<P></DL><HR><A NAME="VerticalPositionMark(com.lowagie.text.pdf.draw.DrawInterface, float)"><!-- --></A><H3>VerticalPositionMark</H3><PRE>public <B>VerticalPositionMark</B>(<A HREF="../../../../../com/lowagie/text/pdf/draw/DrawInterface.html" title="interface in com.lowagie.text.pdf.draw">DrawInterface</A> drawInterface, float offset)</PRE><DL><DD>Creates a vertical position mark that won't draw anything unless you define a DrawInterface.<P><DL><DT><B>Parameters:</B><DD><CODE>drawInterface</CODE> - the drawInterface for this vertical position mark.<DD><CODE>offset</CODE> - the offset for this vertical position mark.</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(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></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="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>process</H3><PRE>public boolean <B>process</B>(<A HREF="../../../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">Element</A></CODE></B></DD><DD>Processes the element by adding it (or the different parts) to an <CODE> ElementListener</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - an <CODE>ElementListener</CODE><DT><B>Returns:</B><DD><CODE>true</CODE> if the element was processed successfully<DT><B>See Also:</B><DD><A HREF="../../../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)"><CODE>Element.process(com.lowagie.text.ElementListener)</CODE></A></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -