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

📄 fontfactory.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</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">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;encoding,                           boolean&nbsp;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</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">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;encoding,                           float&nbsp;size,                           int&nbsp;style,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A>&nbsp;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.</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">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;encoding,                           float&nbsp;size,                           int&nbsp;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</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">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;encoding,                           float&nbsp;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</DL>
</DD>
</DL>
<HR>

<A NAME="getFont(java.lang.String, java.lang.String)"><!-- --></A><H3>
getFont</H3>
<PRE>
public static <A HREF="../../../com/lowagie/text/Font.html">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;encoding)</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</DL>
</DD>
</DL>
<HR>

<A NAME="getFont(java.lang.String, float, int, java.awt.Color)"><!-- --></A><H3>
getFont</H3>
<PRE>
public static <A HREF="../../../com/lowagie/text/Font.html">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           float&nbsp;size,                           int&nbsp;style,                           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A>&nbsp;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>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.</DL>
</DD>
</DL>
<HR>

<A NAME="getFont(java.lang.String, float, int)"><!-- --></A><H3>
getFont</H3>
<PRE>
public static <A HREF="../../../com/lowagie/text/Font.html">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           float&nbsp;size,                           int&nbsp;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>size</CODE> - the size of this font<DD><CODE>style</CODE> - the style of this font</DL>
</DD>
</DL>
<HR>

<A NAME="getFont(java.lang.String, float)"><!-- --></A><H3>
getFont</H3>
<PRE>
public static <A HREF="../../../com/lowagie/text/Font.html">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname,                           float&nbsp;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>size</CODE> - the size of this font</DL>
</DD>
</DL>
<HR>

<A NAME="getFont(java.lang.String)"><!-- --></A><H3>
getFont</H3>
<PRE>
public static <A HREF="../../../com/lowagie/text/Font.html">Font</A> <B>getFont</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname)</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</DL>
</DD>
</DL>
<HR>

<A NAME="register(java.lang.String)"><!-- --></A><H3>
register</H3>
<PRE>
public static void <B>register</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Register a ttf- or a ttc-file.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to a ttf- or ttc-file</DL>
</DD>
</DL>
<HR>

<A NAME="register(java.lang.String, java.lang.String)"><!-- --></A><H3>
register</H3>
<PRE>
public static void <B>register</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,                            <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;alias)</PRE>
<DL>
<DD>Register a ttf- or a ttc-file and use an alias for the font contained in the ttf-file.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to a ttf- or ttc-file<DD><CODE>alias</CODE> - the alias you want to use for the font</DL>
</DD>
</DL>
<HR>

<A NAME="getRegisteredFonts()"><!-- --></A><H3>
getRegisteredFonts</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A> <B>getRegisteredFonts</B>()</PRE>
<DL>
<DD>Gets a set of registered fontnames.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRegisteredFamilies()"><!-- --></A><H3>
getRegisteredFamilies</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A> <B>getRegisteredFamilies</B>()</PRE>
<DL>
<DD>Gets a set of registered fontnames.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(java.lang.String)"><!-- --></A><H3>
contains</H3>
<PRE>
public static boolean <B>contains</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname)</PRE>
<DL>
<DD>Gets a set of registered fontnames.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isRegistered(java.lang.String)"><!-- --></A><H3>
isRegistered</H3>
<PRE>
public static boolean <B>isRegistered</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;fontname)</PRE>
<DL>
<DD>Checks if a certain font is registered.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fontname</CODE> - the name of the font that has to be checked.<DT><B>Returns:</B><DD>true if the font is found</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/lowagie/text/Font.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/lowagie/text/Gif.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>  &nbsp;
&nbsp;<A HREF="FontFactory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -