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

📄 utilities.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
pointsToInches</H3><PRE>public static final float <B>pointsToInches</B>(float&nbsp;value)</PRE><DL><DD>Measurement conversion from points to inches.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - a value in points<DT><B>Returns:</B><DD>a value in inches<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="inchesToMillimeters(float)"><!-- --></A><H3>inchesToMillimeters</H3><PRE>public static final float <B>inchesToMillimeters</B>(float&nbsp;value)</PRE><DL><DD>Measurement conversion from inches to millimeters.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - a value in inches<DT><B>Returns:</B><DD>a value in millimeters<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="inchesToPoints(float)"><!-- --></A><H3>inchesToPoints</H3><PRE>public static final float <B>inchesToPoints</B>(float&nbsp;value)</PRE><DL><DD>Measurement conversion from inches to points.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - a value in inches<DT><B>Returns:</B><DD>a value in points<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="isSurrogateHigh(char)"><!-- --></A><H3>isSurrogateHigh</H3><PRE>public static boolean <B>isSurrogateHigh</B>(char&nbsp;c)</PRE><DL><DD>Check if the value of a character belongs to a certain interval that indicates it's the higher part of a surrogate pair.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the character<DT><B>Returns:</B><DD>true if the character belongs to the interval<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="isSurrogateLow(char)"><!-- --></A><H3>isSurrogateLow</H3><PRE>public static boolean <B>isSurrogateLow</B>(char&nbsp;c)</PRE><DL><DD>Check if the value of a character belongs to a certain interval that indicates it's the lower part of a surrogate pair.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the character<DT><B>Returns:</B><DD>true if the character belongs to the interval<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="isSurrogatePair(java.lang.String, int)"><!-- --></A><H3>isSurrogatePair</H3><PRE>public static boolean <B>isSurrogatePair</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>&nbsp;text,                                      int&nbsp;idx)</PRE><DL><DD>Checks if two subsequent characters in a String are are the higher and the lower character in a surrogate pair (and therefore eligible for conversion to a UTF 32 character).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the String with the high and low surrogate characters<DD><CODE>idx</CODE> - the index of the 'high' character in the pair<DT><B>Returns:</B><DD>true if the characters are surrogate pairs<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="isSurrogatePair(char[], int)"><!-- --></A><H3>isSurrogatePair</H3><PRE>public static boolean <B>isSurrogatePair</B>(char[]&nbsp;text,                                      int&nbsp;idx)</PRE><DL><DD>Checks if two subsequent characters in a character array are are the higher and the lower character in a surrogate pair (and therefore eligible for conversion to a UTF 32 character).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the character array with the high and low surrogate characters<DD><CODE>idx</CODE> - the index of the 'high' character in the pair<DT><B>Returns:</B><DD>true if the characters are surrogate pairs<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="convertToUtf32(char, char)"><!-- --></A><H3>convertToUtf32</H3><PRE>public static int <B>convertToUtf32</B>(char&nbsp;highSurrogate,                                 char&nbsp;lowSurrogate)</PRE><DL><DD>Returns the code point of a UTF32 character corresponding with a high and a low surrogate value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>highSurrogate</CODE> - the high surrogate value<DD><CODE>lowSurrogate</CODE> - the low surrogate value<DT><B>Returns:</B><DD>a code point value<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="convertToUtf32(char[], int)"><!-- --></A><H3>convertToUtf32</H3><PRE>public static int <B>convertToUtf32</B>(char[]&nbsp;text,                                 int&nbsp;idx)</PRE><DL><DD>Converts a unicode character in a character array to a UTF 32 code point value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - a character array that has the unicode character(s)<DD><CODE>idx</CODE> - the index of the 'high' character<DT><B>Returns:</B><DD>the code point value<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="convertToUtf32(java.lang.String, int)"><!-- --></A><H3>convertToUtf32</H3><PRE>public static int <B>convertToUtf32</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>&nbsp;text,                                 int&nbsp;idx)</PRE><DL><DD>Converts a unicode character in a String to a UTF32 code point value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - a String that has the unicode character(s)<DD><CODE>idx</CODE> - the index of the 'high' character<DT><B>Returns:</B><DD>the codepoint value<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><HR><A NAME="convertFromUtf32(int)"><!-- --></A><H3>convertFromUtf32</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>convertFromUtf32</B>(int&nbsp;codePoint)</PRE><DL><DD>Converts a UTF32 code point value to a String with the corresponding character(s).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>codePoint</CODE> - a Unicode value<DT><B>Returns:</B><DD>the corresponding characters in a String<DT><B>Since:</B></DT>  <DD>2.1.2</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/lowagie/text/TextElementArray.html" title="interface in com.lowagie.text"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/lowagie/text/ZapfDingbatsList.html" title="class in com.lowagie.text"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/lowagie/text/Utilities.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Utilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -