glyphmetrics.html
来自「API資料大全」· HTML 代码 · 共 567 行 · 第 1/2 页
HTML
567 行
<CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/font/GlyphMetrics.html#isWhitespace()">isWhitespace</A></B>()</CODE><BR> Returns <code>true</code> if this is a whitespace glyph.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="STANDARD"><!-- --></A><H3>STANDARD</H3><PRE>public static final byte <B>STANDARD</B></PRE><DL><DD>Indicates a glyph that represents a single standard character.</DL><HR><A NAME="LIGATURE"><!-- --></A><H3>LIGATURE</H3><PRE>public static final byte <B>LIGATURE</B></PRE><DL><DD>Indicates a glyph that represents multiple characters as a ligature, for example 'fi' or 'ffi'. It is followed by filler glyphs for the remaining characters. Filler and combining glyphs can be intermixed to control positioning of accent marks on the logically preceeding ligature.</DL><HR><A NAME="COMBINING"><!-- --></A><H3>COMBINING</H3><PRE>public static final byte <B>COMBINING</B></PRE><DL><DD>Indicates a glyph that represents a combining character, such as an umlaut. There is no caret position between this glyph and the preceeding glyph.</DL><HR><A NAME="COMPONENT"><!-- --></A><H3>COMPONENT</H3><PRE>public static final byte <B>COMPONENT</B></PRE><DL><DD>Indicates a glyph with no corresponding character in the backing store. The glyph is associated with the character represented by the logicaly preceeding non-component glyph. This is used for kashida justification or other visual modifications to existing glyphs. There is no caret position between this glyph and the preceeding glyph.</DL><HR><A NAME="WHITESPACE"><!-- --></A><H3>WHITESPACE</H3><PRE>public static final byte <B>WHITESPACE</B></PRE><DL><DD>Indicates a glyph with no visual representation. It can be added to the other code values to indicate an invisible glyph.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GlyphMetrics(float, java.awt.geom.Rectangle2D, byte)"><!-- --></A><H3>GlyphMetrics</H3><PRE>public <B>GlyphMetrics</B>(float advance, <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> bounds, byte glyphType)</PRE><DL><DD>Constructs a <code>GlyphMetrics</code> object.<DD><DL><DT><B>Parameters:</B><DD><CODE>advance</CODE> - the advance width or height of the glyph<DD><CODE>bounds</CODE> - the black box bounds of the glyph<DD><CODE>glyphType</CODE> - the type of the glyph</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getAdvance()"><!-- --></A><H3>getAdvance</H3><PRE>public float <B>getAdvance</B>()</PRE><DL><DD>Returns the advance width or height of the glyph.<DD><DL><DT><B>Returns:</B><DD>the advance of the glyph.</DL></DD></DL><HR><A NAME="getBounds2D()"><!-- --></A><H3>getBounds2D</H3><PRE>public <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> <B>getBounds2D</B>()</PRE><DL><DD>Returns the black box bounds of the glyph.<DD><DL><DT><B>Returns:</B><DD>a <A HREF="../../../java/awt/geom/Rectangle2D.html"><CODE>Rectangle2D</CODE></A> that is the bounds of the glyph.</DL></DD></DL><HR><A NAME="getLSB()"><!-- --></A><H3>getLSB</H3><PRE>public float <B>getLSB</B>()</PRE><DL><DD>Returns the left (top) side bearing of the glyph. <p> This is the distance from 0, 0 to the left (top) of the glyph bounds. If the bounds of the glyph is to the left of (above) the origin, the LSB is negative.<DD><DL><DT><B>Returns:</B><DD>the left side bearing of the glyph.</DL></DD></DL><HR><A NAME="getRSB()"><!-- --></A><H3>getRSB</H3><PRE>public float <B>getRSB</B>()</PRE><DL><DD>Returns the right (bottom) side bearing of the glyph. <p> This is the distance from the right (bottom) of the glyph bounds to the advance. If the bounds of the glyph is to the right of (below) the advance, the RSB is negative.<DD><DL><DT><B>Returns:</B><DD>the right side bearing of the glyph.</DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>()</PRE><DL><DD>Returns the raw glyph type code.<DD><DL><DT><B>Returns:</B><DD>the raw glyph type code.</DL></DD></DL><HR><A NAME="isStandard()"><!-- --></A><H3>isStandard</H3><PRE>public boolean <B>isStandard</B>()</PRE><DL><DD>Returns <code>true</code> if this is a standard glyph.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a standard glyph; <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="isLigature()"><!-- --></A><H3>isLigature</H3><PRE>public boolean <B>isLigature</B>()</PRE><DL><DD>Returns <code>true</code> if this is a ligature glyph.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a ligature glyph; <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="isCombining()"><!-- --></A><H3>isCombining</H3><PRE>public boolean <B>isCombining</B>()</PRE><DL><DD>Returns <code>true</code> if this is a combining glyph.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a combining glyph; <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="isComponent()"><!-- --></A><H3>isComponent</H3><PRE>public boolean <B>isComponent</B>()</PRE><DL><DD>Returns <code>true</code> if this is a component glyph.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a component glyph; <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="isWhitespace()"><!-- --></A><H3>isWhitespace</H3><PRE>public boolean <B>isWhitespace</B>()</PRE><DL><DD>Returns <code>true</code> if this is a whitespace glyph.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a whitespace glyph; <code>false</code> otherwise.</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=2 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GlyphMetrics.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../java/awt/font/GlyphJustificationInfo.html"><B>PREV CLASS</B></A> <A HREF="../../../java/awt/font/GlyphVector.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> <A HREF="GlyphMetrics.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?