📄 chunk.html
字号:
<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> strokeColor)</CODE><BR> Sets the text rendering mode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setTextRise(float)">setTextRise</A></B>(float rise)</CODE><BR> Sets the text displacement relative to the baseline.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setUnderline(java.awt.Color, float, float, float, float, int)">setUnderline</A></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, float thickness, float thicknessMul, float yPosition, float yPositionMul, int cap)</CODE><BR> Sets an horizontal line that can be an underline or a strikethrough.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setUnderline(float, float)">setUnderline</A></B>(float thickness, float yPosition)</CODE><BR> Sets an horizontal line that can be an underline or a strikethrough.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#toString()">toString</A></B>()</CODE><BR> Returns the content of this <CODE>Chunk</CODE>.</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/Chunk.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#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> <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="OBJECT_REPLACEMENT_CHARACTER"><!-- --></A><H3>OBJECT_REPLACEMENT_CHARACTER</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>OBJECT_REPLACEMENT_CHARACTER</B></PRE><DL><DD>The character stand in for an image or a separator.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.OBJECT_REPLACEMENT_CHARACTER">Constant Field Values</A></DL></DL><HR><A NAME="NEWLINE"><!-- --></A><H3>NEWLINE</H3><PRE>public static final <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A> <B>NEWLINE</B></PRE><DL><DD>This is a Chunk containing a newline.<P><DL></DL></DL><HR><A NAME="NEXTPAGE"><!-- --></A><H3>NEXTPAGE</H3><PRE>public static final <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A> <B>NEXTPAGE</B></PRE><DL><DD>This is a Chunk containing a newpage.<P><DL></DL></DL><HR><A NAME="content"><!-- --></A><H3>content</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> <B>content</B></PRE><DL><DD>This is the content of this chunk of text.<P><DL></DL></DL><HR><A NAME="font"><!-- --></A><H3>font</H3><PRE>protected <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>font</B></PRE><DL><DD>This is the <CODE>Font</CODE> of this chunk of text.<P><DL></DL></DL><HR><A NAME="attributes"><!-- --></A><H3>attributes</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>attributes</B></PRE><DL><DD>Contains some of the attributes for this Chunk.<P><DL></DL></DL><HR><A NAME="SEPARATOR"><!-- --></A><H3>SEPARATOR</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SEPARATOR</B></PRE><DL><DD>Key for drawInterface of the Separator.<P><DL><DT><B>Since:</B></DT> <DD>2.1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.SEPARATOR">Constant Field Values</A></DL></DL><HR><A NAME="TAB"><!-- --></A><H3>TAB</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>TAB</B></PRE><DL><DD>Key for drawInterface of the tab.<P><DL><DT><B>Since:</B></DT> <DD>2.1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.TAB">Constant Field Values</A></DL></DL><HR><A NAME="HSCALE"><!-- --></A><H3>HSCALE</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>HSCALE</B></PRE><DL><DD>Key for text horizontal scaling.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.HSCALE">Constant Field Values</A></DL></DL><HR><A NAME="UNDERLINE"><!-- --></A><H3>UNDERLINE</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>UNDERLINE</B></PRE><DL><DD>Key for underline.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.UNDERLINE">Constant Field Values</A></DL></DL><HR><A NAME="SUBSUPSCRIPT"><!-- --></A><H3>SUBSUPSCRIPT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SUBSUPSCRIPT</B></PRE><DL><DD>Key for sub/superscript.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.SUBSUPSCRIPT">Constant Field Values</A></DL></DL><HR><A NAME="SKEW"><!-- --></A><H3>SKEW</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SKEW</B></PRE><DL><DD>Key for text skewing.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.SKEW">Constant Field Values</A></DL></DL><HR><A NAME="BACKGROUND"><!-- --></A><H3>BACKGROUND</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>BACKGROUND</B></PRE><DL><DD>Key for background.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.BACKGROUND">Constant Field Values</A></DL></DL><HR><A NAME="TEXTRENDERMODE"><!-- --></A><H3>TEXTRENDERMODE</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>TEXTRENDERMODE</B></PRE><DL><DD>Key for text rendering mode.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Chunk.TEXTRENDERMODE">Constant Field Values</A></DL></DL><HR><A NAME="SPLITCHARACTER"><!-- --></A><H3>SPLITCHARACTER</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SPLITCHARACTER</B></PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -