📄 rectangle.html
字号:
public float <B>bottom</B>()</PRE>
<DL>
<DD>Returns the lower left y-coordinate.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the lower left y-coordinate</DL>
</DD>
</DL>
<HR>
<A NAME="left(float)"><!-- --></A><H3>
left</H3>
<PRE>
public float <B>left</B>(float 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="right(float)"><!-- --></A><H3>
right</H3>
<PRE>
public float <B>right</B>(float 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="top(float)"><!-- --></A><H3>
top</H3>
<PRE>
public float <B>top</B>(float 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="bottom(float)"><!-- --></A><H3>
bottom</H3>
<PRE>
public float <B>bottom</B>(float margin)</PRE>
<DL>
<DD>Returns the lower left 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 lower left y-coordinate</DL>
</DD>
</DL>
<HR>
<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public float <B>width</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="height()"><!-- --></A><H3>
height</H3>
<PRE>
public float <B>height</B>()</PRE>
<DL>
<DD>Returns the height of the rectangle.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a height</DL>
</DD>
</DL>
<HR>
<A NAME="hasBorders()"><!-- --></A><H3>
hasBorders</H3>
<PRE>
public boolean <B>hasBorders</B>()</PRE>
<DL>
<DD>Indicates if the table has borders.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a boolean</DL>
</DD>
</DL>
<HR>
<A NAME="hasBorder(int)"><!-- --></A><H3>
hasBorder</H3>
<PRE>
public boolean <B>hasBorder</B>(int type)</PRE>
<DL>
<DD>Indicates if the table has a some type of border.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of border<DT><B>Returns:</B><DD>a boolean</DL>
</DD>
</DL>
<HR>
<A NAME="border()"><!-- --></A><H3>
border</H3>
<PRE>
public int <B>border</B>()</PRE>
<DL>
<DD>Returns the exact type of the border.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="borderWidth()"><!-- --></A><H3>
borderWidth</H3>
<PRE>
public float <B>borderWidth</B>()</PRE>
<DL>
<DD>Gets the borderwidth.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="borderColor()"><!-- --></A><H3>
borderColor</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> <B>borderColor</B>()</PRE>
<DL>
<DD>Gets the color of the border.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="backgroundColor()"><!-- --></A><H3>
backgroundColor</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> <B>backgroundColor</B>()</PRE>
<DL>
<DD>Gets the backgroundcolor.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="grayFill()"><!-- --></A><H3>
grayFill</H3>
<PRE>
public float <B>grayFill</B>()</PRE>
<DL>
<DD>Gets the grayscale.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="getRotation()"><!-- --></A><H3>
getRotation</H3>
<PRE>
public int <B>getRotation</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setMarkupAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
setMarkupAttribute</H3>
<PRE>
public void <B>setMarkupAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></B></DD>
<DD>Sets the specified attribute.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttribute(java.lang.String, java.lang.String)">setMarkupAttribute</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - <CODE>String</CODE> attribute name.<DD><CODE>value</CODE> - <CODE>String</CODE> attribute value.<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttribute(java.lang.String, java.lang.String)"><CODE>MarkupAttributes.setMarkupAttribute(java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setMarkupAttributes(java.util.Properties)"><!-- --></A><H3>
setMarkupAttributes</H3>
<PRE>
public void <B>setMarkupAttributes</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> markupAttributes)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></B></DD>
<DD>Sets the markupAttributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttributes(java.util.Properties)">setMarkupAttributes</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>markupAttributes</CODE> - a <CODE>Properties</CODE>-object containing markupattributes<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttributes(java.util.Properties)"><CODE>MarkupAttributes.setMarkupAttributes(java.util.Properties)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getMarkupAttribute(java.lang.String)"><!-- --></A><H3>
getMarkupAttribute</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getMarkupAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></B></DD>
<DD>Returns the value of the specified attribute.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttribute(java.lang.String)">getMarkupAttribute</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - <CODE>String</CODE> attribute name.<DT><B>Returns:</B><DD><CODE>String</CODE>.<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttribute(java.lang.String)"><CODE>MarkupAttributes.getMarkupAttribute(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getMarkupAttributeNames()"><!-- --></A><H3>
getMarkupAttributeNames</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A> <B>getMarkupAttributeNames</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></B></DD>
<DD>Returns a <CODE>Set</CODE> of <CODE>String</CODE> attribute names for the <CODE>MarkupAttributes</CODE> implementor.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributeNames()">getMarkupAttributeNames</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>Set</CODE>.<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributeNames()"><CODE>MarkupAttributes.getMarkupAttributeNames()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getMarkupAttributes()"><!-- --></A><H3>
getMarkupAttributes</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> <B>getMarkupAttributes</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></B></DD>
<DD>Return a <CODE>Properties</CODE>-object containing all the markupAttributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributes()">getMarkupAttributes</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html">MarkupAttributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>Properties</CODE><DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributes()"><CODE>MarkupAttributes.getMarkupAttributes()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../com/lowagie/text/Png.html"><B>PREV CLASS</B></A>
<A HREF="../../../com/lowagie/text/Row.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Rectangle.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -