📄 fontfactory.html
字号:
<A NAME="TIMES_BOLDITALIC"><!-- --></A><H3>TIMES_BOLDITALIC</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>TIMES_BOLDITALIC</B></PRE><DL><DD>This is a possible value of a base 14 type 1 font<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.FontFactory.TIMES_BOLDITALIC">Constant Field Values</A></DL></DL><HR><A NAME="ZAPFDINGBATS"><!-- --></A><H3>ZAPFDINGBATS</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>ZAPFDINGBATS</B></PRE><DL><DD>This is a possible value of a base 14 type 1 font<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.FontFactory.ZAPFDINGBATS">Constant Field Values</A></DL></DL><HR><A NAME="fontImp"><!-- --></A><H3>fontImp</H3><PRE>private static <A HREF="../../../com/lowagie/text/FontFactoryImp.html" title="class in com.lowagie.text">FontFactoryImp</A> <B>fontImp</B></PRE><DL><DL></DL></DL><HR><A NAME="defaultEncoding"><!-- --></A><H3>defaultEncoding</H3><PRE>public static <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>defaultEncoding</B></PRE><DL><DD>This is the default encoding to use.<P><DL></DL></DL><HR><A NAME="defaultEmbedding"><!-- --></A><H3>defaultEmbedding</H3><PRE>public static boolean <B>defaultEmbedding</B></PRE><DL><DD>This is the default value of the <VAR>embedded</VAR> variable.<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="FontFactory()"><!-- --></A><H3>FontFactory</H3><PRE>private <B>FontFactory</B>()</PRE><DL><DD>Creates new FontFactory<P></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="getFont(java.lang.String, java.lang.String, boolean, float, int, java.awt.Color)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, boolean embedded, float size, int style, <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)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>embedded</CODE> - true if the font is to be embedded in the PDF<DD><CODE>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font<DD><CODE>color</CODE> - the <CODE>Color</CODE> of this font.<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, boolean, float, int, java.awt.Color, boolean)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, boolean embedded, float size, int style, <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, boolean cached)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>embedded</CODE> - true if the font is to be embedded in the PDF<DD><CODE>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font<DD><CODE>color</CODE> - the <CODE>Color</CODE> of this font.<DD><CODE>cached</CODE> - true if the font comes from the cache or is added to the cache if new, false if the font is always created new<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.util.Properties)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> attributes)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the attributes of a <CODE>Font</CODE> object.<DT><B>Returns:</B><DD>the Font constructed based on the attributes</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, boolean, float, int)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, boolean embedded, float size, int style)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>embedded</CODE> - true if the font is to be embedded in the PDF<DD><CODE>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, boolean, float)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, boolean embedded, float size)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>embedded</CODE> - true if the font is to be embedded in the PDF<DD><CODE>size</CODE> - the size of this font<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, boolean embedded)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>embedded</CODE> - true if the font is to be embedded in the PDF<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, float, int, java.awt.Color)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, float size, int style, <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)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font<DD><CODE>color</CODE> - the <CODE>Color</CODE> of this font.<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, float, int)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, float size, int style)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String, float)"><!-- --></A><H3>getFont</H3><PRE>public static <A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> <B>getFont</B>(<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> fontname, <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> encoding, float size)</PRE><DL><DD>Constructs a <CODE>Font</CODE>-object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font<DD><CODE>encoding</CODE> - the encoding of the font<DD><CODE>size</CODE> - the size of this font<DT><B>Returns:</B><DD>the Font constructed based on the parameters</DL></DD></DL><HR><A NAME="getFont(java.lang.String, java.lang.String)"><!-- --></A><H3>getFont</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -