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

📄 font3d.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/SceneGraphObject.html" title="class in javax.media.j3d">SceneGraphObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapability(int)">clearCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapabilityIsFrequent(int)">clearCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#duplicateSceneGraphObject(javax.media.j3d.SceneGraphObject)">duplicateSceneGraphObject</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapability(int)">getCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapabilityIsFrequent(int)">getCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getName()">getName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getUserData()">getUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isCompiled()">isCompiled</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isLive()">isLive</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapability(int)">setCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapabilityIsFrequent(int)">setCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setName(java.lang.String)">setName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setUserData(java.lang.Object)">setUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#toString()">toString</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE></TD></TR></TABLE>&nbsp;<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.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="Font3D(java.awt.Font, javax.media.j3d.FontExtrusion)"><!-- --></A><H3>Font3D</H3><PRE>public <B>Font3D</B>(java.awt.Font&nbsp;font,              <A HREF="../../../javax/media/j3d/FontExtrusion.html" title="class in javax.media.j3d">FontExtrusion</A>&nbsp;extrudePath)</PRE><DL><DD>Constructs a Font3D object from the specified Font and FontExtrusion objects, using the default value for the tessellation tolerance.  The default value is as follows: <ul> tessellation tolerance : 0.01<br> </ul> <P> The FontExtrusion object contains the extrusion path to use on the 2D Font glyphs.  To ensure correct rendering the font must be created with the default AffineTransform.  Passing null for the FontExtrusion parameter results in no extrusion being done.<P><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the Java 2D font used to create the 3D font object<DD><CODE>extrudePath</CODE> - the extrusion path used to describe how the edge of the font varies along the Z axis</DL></DL><HR><A NAME="Font3D(java.awt.Font, double, javax.media.j3d.FontExtrusion)"><!-- --></A><H3>Font3D</H3><PRE>public <B>Font3D</B>(java.awt.Font&nbsp;font,              double&nbsp;tessellationTolerance,              <A HREF="../../../javax/media/j3d/FontExtrusion.html" title="class in javax.media.j3d">FontExtrusion</A>&nbsp;extrudePath)</PRE><DL><DD>Constructs a Font3D object from the specified Font and FontExtrusion objects, using the specified tessellation tolerance. The FontExtrusion object contains the extrusion path to use on the 2D Font glyphs.  To ensure correct rendering, the font must be created with the default AffineTransform.  Passing null for the FontExtrusion parameter results in no extrusion being done.<P><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the Java 2D font used to create the 3D font object.<DD><CODE>tessellationTolerance</CODE> - the tessellation tolerance value used in tessellating the glyphs of the 2D Font. This corresponds to the <code>flatness</code> parameter in the <code>java.awt.Shape.getPathIterator</code> method.<DD><CODE>extrudePath</CODE> - the extrusion path used to describe how the edge of the font varies along the Z axis.<DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD></DL></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()"><!-- --></A><H3>getFont</H3><PRE>public java.awt.Font <B>getFont</B>()</PRE><DL><DD>Returns the Java 2D Font used to create this Font3D object.<P><DD><DL><DT><B>Returns:</B><DD>Font object used by this Font3D</DL></DD></DL><HR><A NAME="getTessellationTolerance()"><!-- --></A><H3>getTessellationTolerance</H3><PRE>public double <B>getTessellationTolerance</B>()</PRE><DL><DD>Returns the tessellation tolerance with which this Font3D was created.<P><DD><DL><DT><B>Returns:</B><DD>the tessellation tolerance used by this Font3D<DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="getFontExtrusion(javax.media.j3d.FontExtrusion)"><!-- --></A><H3>getFontExtrusion</H3><PRE>public void <B>getFontExtrusion</B>(<A HREF="../../../javax/media/j3d/FontExtrusion.html" title="class in javax.media.j3d">FontExtrusion</A>&nbsp;extrudePath)</PRE><DL><DD>Copies the FontExtrusion object used to create this Font3D object into the specified parameter.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>extrudePath</CODE> - object that will receive the FontExtrusion information for this Font3D object</DL></DD></DL><HR><A NAME="getBoundingBox(int, javax.media.j3d.BoundingBox)"><!-- --></A><H3>getBoundingBox</H3><PRE>public void <B>getBoundingBox</B>(int&nbsp;glyphCode,                           <A HREF="../../../javax/media/j3d/BoundingBox.html" title="class in javax.media.j3d">BoundingBox</A>&nbsp;bounds)</PRE><DL><DD>Returns the 3D bounding box of the specified glyph code.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>glyphCode</CODE> - the glyphCode from the original 2D Font<DD><CODE>bounds</CODE> - the 3D glyph's bounds</DL></DD></DL><HR><A NAME="getGlyphGeometry(char)"><!-- --></A><H3>getGlyphGeometry</H3><PRE>public <A HREF="../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A> <B>getGlyphGeometry</B>(char&nbsp;c)</PRE><DL><DD>Returns a GeometryArray of a glyph in this Font3D.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - character from which to generate a tessellated glyph.<DT><B>Returns:</B><DD>a GeometryArray<DT><B>Since:</B></DT>  <DD>Java 3D 1.4</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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/Fog.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/FontExtrusion.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/media/j3d/Font3D.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Font3D.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><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>

⌨️ 快捷键说明

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