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

📄 color3f.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</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>finalize, getClass, 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="Color3f(float, float, float)"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(float&nbsp;x,               float&nbsp;y,               float&nbsp;z)</PRE><DL><DD>Constructs and initializes a Color3f from the three xyz values.<P><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the red color value<DD><CODE>y</CODE> - the green color value<DD><CODE>z</CODE> - the blue color value</DL></DL><HR><A NAME="Color3f(float[])"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(float[]&nbsp;v)</PRE><DL><DD>Constructs and initializes a Color3f from the array of length 3.<P><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the array of length 3 containing xyz in order</DL></DL><HR><A NAME="Color3f(javax.vecmath.Color3f)"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(<A HREF="../../javax/vecmath/Color3f.html" title="class in javax.vecmath">Color3f</A>&nbsp;v1)</PRE><DL><DD>Constructs and initializes a Color3f from the specified Color3f.<P><DL><DT><B>Parameters:</B><DD><CODE>v1</CODE> - the Color3f containing the initialization x y z data</DL></DL><HR><A NAME="Color3f(javax.vecmath.Tuple3f)"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Constructs and initializes a Color3f from the specified Tuple3f.<P><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3f containing the initialization x y z data</DL></DL><HR><A NAME="Color3f(javax.vecmath.Tuple3d)"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(<A HREF="../../javax/vecmath/Tuple3d.html" title="class in javax.vecmath">Tuple3d</A>&nbsp;t1)</PRE><DL><DD>Constructs and initializes a Color3f from the specified Tuple3d.<P><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3d containing the initialization x y z data</DL></DL><HR><A NAME="Color3f(java.awt.Color)"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>(java.awt.Color&nbsp;color)</PRE><DL><DD>Constructs and initializes a Color3f from the specified AWT Color object.  The alpha value of the AWT color is ignored. No conversion is done on the color to compensate for gamma correction.<P><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - the AWT color with which to initialize this Color3f object<DT><B>Since:</B></DT>  <DD>vecmath 1.2</DD></DL></DL><HR><A NAME="Color3f()"><!-- --></A><H3>Color3f</H3><PRE>public <B>Color3f</B>()</PRE><DL><DD>Constructs and initializes a Color3f to (0.0, 0.0, 0.0).<P></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="set(java.awt.Color)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(java.awt.Color&nbsp;color)</PRE><DL><DD>Sets the r,g,b values of this Color3f object to those of the specified AWT Color object. No conversion is done on the color to compensate for gamma correction.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - the AWT color to copy into this Color3f object<DT><B>Since:</B></DT>  <DD>vecmath 1.2</DD></DL></DD></DL><HR><A NAME="get()"><!-- --></A><H3>get</H3><PRE>public final java.awt.Color <B>get</B>()</PRE><DL><DD>Returns a new AWT color object initialized with the r,g,b values of this Color3f object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new AWT Color object<DT><B>Since:</B></DT>  <DD>vecmath 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/vecmath/Color3b.html" title="class in javax.vecmath"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/vecmath/Color4b.html" title="class in javax.vecmath"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?javax/vecmath/Color3f.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Color3f.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;<A HREF="#fields_inherited_from_class_javax.vecmath.Tuple3f">FIELD</A>&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 + -