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

📄 rectangle.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><DL><DT><B>Parameters:</B><DD><CODE>urx</CODE> - upper right x<DD><CODE>ury</CODE> - upper right y</DL></DL><HR><A NAME="Rectangle(com.lowagie.text.Rectangle)"><!-- --></A><H3>Rectangle</H3><PRE>public <B>Rectangle</B>(<A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;rect)</PRE><DL><DD>Constructs a <CODE>Rectangle</CODE> -object.<P><DL><DT><B>Parameters:</B><DD><CODE>rect</CODE> - another <CODE>Rectangle</CODE></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="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>&nbsp;listener)</PRE><DL><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</DL></DD></DL><HR><A NAME="type()"><!-- --></A><H3>type</H3><PRE>public int <B>type</B>()</PRE><DL><DD>Gets the type of the text element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#type()">type</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>Returns:</B><DD>a type</DL></DD></DL><HR><A NAME="getChunks()"><!-- --></A><H3>getChunks</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getChunks</B>()</PRE><DL><DD>Gets all the chunks in this element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</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>Returns:</B><DD>an <CODE>ArrayList</CODE></DL></DD></DL><HR><A NAME="isContent()"><!-- --></A><H3>isContent</H3><PRE>public boolean <B>isContent</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/Element.html#isContent()">Element</A></CODE></B></DD><DD>Checks if this element is a content object. If not, it's a metadata object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#isContent()">isContent</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>Returns:</B><DD>true if this is a 'content' element; false if this is a 'metadata' element<DT><B>Since:</B></DT>  <DD>iText 2.0.8</DD><DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/Element.html#isContent()"><CODE>Element.isContent()</CODE></A></DL></DD></DL><HR><A NAME="isNestable()"><!-- --></A><H3>isNestable</H3><PRE>public boolean <B>isNestable</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/Element.html#isNestable()">Element</A></CODE></B></DD><DD>Checks if this element is nestable.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#isNestable()">isNestable</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>Returns:</B><DD>true if this element can be nested inside other elements.<DT><B>Since:</B></DT>  <DD>iText 2.0.8</DD><DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/Element.html#isNestable()"><CODE>Element.isNestable()</CODE></A></DL></DD></DL><HR><A NAME="setLeft(float)"><!-- --></A><H3>setLeft</H3><PRE>public void <B>setLeft</B>(float&nbsp;value)</PRE><DL><DD>Sets the lower left x-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getLeft()"><!-- --></A><H3>getLeft</H3><PRE>public float <B>getLeft</B>()</PRE><DL><DD>Returns the lower left x-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the lower left x-coordinate</DL></DD></DL><HR><A NAME="getLeft(float)"><!-- --></A><H3>getLeft</H3><PRE>public float <B>getLeft</B>(float&nbsp;margin)</PRE><DL><DD>Returns the lower left x-coordinate, considering a given margin.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - a margin<DT><B>Returns:</B><DD>the lower left x-coordinate</DL></DD></DL><HR><A NAME="setRight(float)"><!-- --></A><H3>setRight</H3><PRE>public void <B>setRight</B>(float&nbsp;value)</PRE><DL><DD>Sets the upper right x-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getRight()"><!-- --></A><H3>getRight</H3><PRE>public float <B>getRight</B>()</PRE><DL><DD>Returns the upper right x-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the upper right x-coordinate</DL></DD></DL><HR><A NAME="getRight(float)"><!-- --></A><H3>getRight</H3><PRE>public float <B>getRight</B>(float&nbsp;margin)</PRE><DL><DD>Returns the upper right x-coordinate, considering a given margin.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - a margin<DT><B>Returns:</B><DD>the upper right x-coordinate</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public float <B>getWidth</B>()</PRE><DL><DD>Returns the width of the rectangle.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a width</DL></DD></DL><HR><A NAME="setTop(float)"><!-- --></A><H3>setTop</H3><PRE>public void <B>setTop</B>(float&nbsp;value)</PRE><DL><DD>Sets the upper right y-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getTop()"><!-- --></A><H3>getTop</H3><PRE>public float <B>getTop</B>()</PRE><DL><DD>Returns the upper right y-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the upper right y-coordinate</DL></DD></DL><HR><A NAME="getTop(float)"><!-- --></A><H3>getTop</H3><PRE>public float <B>getTop</B>(float&nbsp;margin)</PRE><DL><DD>Returns the upper right y-coordinate, considering a given margin.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - a margin<DT><B>Returns:</B><DD>the upper right y-coordinate</DL></DD></DL><HR><A NAME="setBottom(float)"><!-- --></A><H3>setBottom</H3><PRE>public void <B>setBottom</B>(float&nbsp;value)</PRE><DL><DD>Sets the lower left y-coordinate.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getBottom()"><!-- --></A><H3>getBottom</H3><PR

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -