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

📄 fontextrusion.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="FontExtrusion()"><!-- --></A><H3>FontExtrusion</H3><PRE>public <B>FontExtrusion</B>()</PRE><DL><DD>Constructs a FontExtrusion object with default parameters.  The default parameters are as follows: <ul> extrusion shape : null<br> tessellation tolerance : 0.01<br> </ul> A null extrusion shape specifies that a straight line from 0.0 to 0.2 (straight bevel) is used.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><CODE>Font3D</CODE></A></DL></DL><HR><A NAME="FontExtrusion(java.awt.Shape)"><!-- --></A><H3>FontExtrusion</H3><PRE>public <B>FontExtrusion</B>(java.awt.Shape&nbsp;extrusionShape)</PRE><DL><DD>Constructs a FontExtrusion object with the specified shape, using the default tessellation tolerance.  The specified shape is used to construct the edge contour of a Font3D object.  Each shape begins with an implicit point at 0.0. Contour must be monotonic in x.<P><DL><DT><B>Parameters:</B><DD><CODE>extrusionShape</CODE> - the shape object to use to generate the extrusion path. A null shape specifies that a straight line from 0.0 to 0.2 (straight bevel) is used.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if multiple contours in  extrusionShape, or contour is not monotonic or least x-value of a contour point is not 0.0f<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><CODE>Font3D</CODE></A></DL></DL><HR><A NAME="FontExtrusion(java.awt.Shape, double)"><!-- --></A><H3>FontExtrusion</H3><PRE>public <B>FontExtrusion</B>(java.awt.Shape&nbsp;extrusionShape,                     double&nbsp;tessellationTolerance)</PRE><DL><DD>Constructs a FontExtrusion object with the specified shape, using the specified tessellation tolerance.  The specified shape is used to construct the edge contour of a Font3D object.  Each shape begins with an implicit point at 0.0. Contour must be monotonic in x.<P><DL><DT><B>Parameters:</B><DD><CODE>extrusionShape</CODE> - the shape object to use to generate the extrusion path. A null shape specifies that a straight line from 0.0 to 0.2 (straight bevel) is used.<DD><CODE>tessellationTolerance</CODE> - the tessellation tolerance value used in tessellating the extrusion shape. This corresponds to the <code>flatness</code> parameter in the <code>java.awt.Shape.getPathIterator</code> method.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if multiple contours in  extrusionShape, or contour is not monotonic or least x-value of a contour point is not 0.0f<DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><CODE>Font3D</CODE></A></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="setExtrusionShape(java.awt.Shape)"><!-- --></A><H3>setExtrusionShape</H3><PRE>public void <B>setExtrusionShape</B>(java.awt.Shape&nbsp;extrusionShape)</PRE><DL><DD>Sets the FontExtrusion's shape parameter.  This parameter is used to construct the 3D contour of a Font3D object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>extrusionShape</CODE> - the shape object to use to generate the extrusion path. A null shape specifies that a straight line from 0.0 to 0.2 (straight bevel) is used.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if multiple contours in  extrusionShape, or contour is not monotonic or least x-value of a contour point is not 0.0f<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><CODE>Font3D</CODE></A>, <CODE>Shape</CODE></DL></DD></DL><HR><A NAME="getExtrusionShape()"><!-- --></A><H3>getExtrusionShape</H3><PRE>public java.awt.Shape <B>getExtrusionShape</B>()</PRE><DL><DD>Gets the FontExtrusion's shape parameter.  This parameter is used to construct the 3D contour of a Font3D object.<P><DD><DL><DT><B>Returns:</B><DD>extrusionShape the shape object used to generate the  extrusion path<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><CODE>Font3D</CODE></A>, <CODE>Shape</CODE></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 FontExtrusion was created.<P><DD><DL><DT><B>Returns:</B><DD>the tessellation tolerance used by this FontExtrusion<DT><B>Since:</B></DT>  <DD>Java 3D 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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/Font3D.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Geometry.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/FontExtrusion.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="FontExtrusion.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 + -