📄 rectanglereadonly.html
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="throwReadOnlyError()"><!-- --></A><H3>throwReadOnlyError</H3><PRE>private void <B>throwReadOnlyError</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setLeft(float)"><!-- --></A><H3>setLeft</H3><PRE>public void <B>setLeft</B>(float value)</PRE><DL><DD>Sets the lower left x-coordinate.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setLeft(float)">setLeft</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setRight(float)"><!-- --></A><H3>setRight</H3><PRE>public void <B>setRight</B>(float value)</PRE><DL><DD>Sets the upper right x-coordinate.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setRight(float)">setRight</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setTop(float)"><!-- --></A><H3>setTop</H3><PRE>public void <B>setTop</B>(float value)</PRE><DL><DD>Sets the upper right y-coordinate.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setTop(float)">setTop</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setBottom(float)"><!-- --></A><H3>setBottom</H3><PRE>public void <B>setBottom</B>(float value)</PRE><DL><DD>Sets the lower left y-coordinate.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setBottom(float)">setBottom</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="normalize()"><!-- --></A><H3>normalize</H3><PRE>public void <B>normalize</B>()</PRE><DL><DD>Switches lowerleft with upperright<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#normalize()">normalize</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setBorder(int)"><!-- --></A><H3>setBorder</H3><PRE>public void <B>setBorder</B>(int value)</PRE><DL><DD>Enables/Disables the border on the specified sides. The border is specified as an integer bitwise combination of the constants: <CODE> LEFT, RIGHT, TOP, BOTTOM</CODE>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setBorder(int)">setBorder</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/RectangleReadOnly.html#enableBorderSide(int)"><CODE>enableBorderSide(int)</CODE></A>, <A HREF="../../../com/lowagie/text/RectangleReadOnly.html#disableBorderSide(int)"><CODE>disableBorderSide(int)</CODE></A></DL></DD></DL><HR><A NAME="enableBorderSide(int)"><!-- --></A><H3>enableBorderSide</H3><PRE>public void <B>enableBorderSide</B>(int side)</PRE><DL><DD>Enables the border on the specified side.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#enableBorderSide(int)">enableBorderSide</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>side</CODE> - the side to enable. One of <CODE>LEFT, RIGHT, TOP, BOTTOM </CODE></DL></DD></DL><HR><A NAME="disableBorderSide(int)"><!-- --></A><H3>disableBorderSide</H3><PRE>public void <B>disableBorderSide</B>(int side)</PRE><DL><DD>Disables the border on the specified side.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#disableBorderSide(int)">disableBorderSide</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>side</CODE> - the side to disable. One of <CODE>LEFT, RIGHT, TOP, BOTTOM </CODE></DL></DD></DL><HR><A NAME="setBorderWidth(float)"><!-- --></A><H3>setBorderWidth</H3><PRE>public void <B>setBorderWidth</B>(float value)</PRE><DL><DD>Sets the borderwidth of the table.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidth(float)">setBorderWidth</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setBorderColor(java.awt.Color)"><!-- --></A><H3>setBorderColor</H3><PRE>public void <B>setBorderColor</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> value)</PRE><DL><DD>Sets the color of the border.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColor(java.awt.Color)">setBorderColor</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setBackgroundColor(java.awt.Color)"><!-- --></A><H3>setBackgroundColor</H3><PRE>public void <B>setBackgroundColor</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> value)</PRE><DL><DD>Sets the backgroundcolor of the rectangle.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setBackgroundColor(java.awt.Color)">setBackgroundColor</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setGrayFill(float)"><!-- --></A><H3>setGrayFill</H3><PRE>public void <B>setGrayFill</B>(float value)</PRE><DL><DD>Sets the grayscale of the rectangle.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setGrayFill(float)">setGrayFill</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="setUseVariableBorders(boolean)"><!-- --></A><H3>setUseVariableBorders</H3><PRE>public void <B>setUseVariableBorders</B>(boolean useVariableBorders)</PRE><DL><DD>Sets a parameter indicating if the rectangle has variable borders<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#setUseVariableBorders(boolean)">setUseVariableBorders</A></CODE> in class <CODE><A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>useVariableBorders</CODE> - indication if the rectangle has variable borders</DL></DD></DL><HR><A NAME="setBorderWidthLeft(float)"><!-- --></A><H3>setBorderWidthLeft</H3><PRE>public void <B>setBorderWidthLeft</B>(float borderWidthLeft)</PRE><DL><DD>Sets the width of a border<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -