📄 fontextrusion.html
字号:
<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="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><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html"><CODE>Font3D</CODE></A></DL><HR><A NAME="FontExtrusion(java.awt.Shape)"><!-- --></A><H3>FontExtrusion</H3><PRE>public <B>FontExtrusion</B>(java.awt.Shape 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><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"><CODE>Font3D</CODE></A></DL><HR><A NAME="FontExtrusion(java.awt.Shape, double)"><!-- --></A><H3>FontExtrusion</H3><PRE>public <B>FontExtrusion</B>(java.awt.Shape extrusionShape, double 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><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><DD>Java 3D 1.2</DD></DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Font3D.html"><CODE>Font3D</CODE></A></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="setExtrusionShape(java.awt.Shape)"><!-- --></A><H3>setExtrusionShape</H3><PRE>public void <B>setExtrusionShape</B>(java.awt.Shape 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"><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"><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><DD>Java 3D 1.2</DD></DD></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> </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="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-all.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/media/j3d/Font3D.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/Geometry.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="FontExtrusion.html" TARGET="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -