📄 color4f.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/vecmath/Tuple4f.html#absolute()">absolute</A>, <A HREF="../../javax/vecmath/Tuple4f.html#absolute(javax.vecmath.Tuple4f)">absolute</A>, <A HREF="../../javax/vecmath/Tuple4f.html#add(javax.vecmath.Tuple4f)">add</A>, <A HREF="../../javax/vecmath/Tuple4f.html#add(javax.vecmath.Tuple4f, javax.vecmath.Tuple4f)">add</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clamp(float, float)">clamp</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clamp(float, float, javax.vecmath.Tuple4f)">clamp</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clampMax(float)">clampMax</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clampMax(float, javax.vecmath.Tuple4f)">clampMax</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clampMin(float)">clampMin</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clampMin(float, javax.vecmath.Tuple4f)">clampMin</A>, <A HREF="../../javax/vecmath/Tuple4f.html#clone()">clone</A>, <A HREF="../../javax/vecmath/Tuple4f.html#epsilonEquals(javax.vecmath.Tuple4f, float)">epsilonEquals</A>, <A HREF="../../javax/vecmath/Tuple4f.html#equals(java.lang.Object)">equals</A>, <A HREF="../../javax/vecmath/Tuple4f.html#equals(javax.vecmath.Tuple4f)">equals</A>, <A HREF="../../javax/vecmath/Tuple4f.html#get(float[])">get</A>, <A HREF="../../javax/vecmath/Tuple4f.html#get(javax.vecmath.Tuple4f)">get</A>, <A HREF="../../javax/vecmath/Tuple4f.html#hashCode()">hashCode</A>, <A HREF="../../javax/vecmath/Tuple4f.html#interpolate(javax.vecmath.Tuple4f, float)">interpolate</A>, <A HREF="../../javax/vecmath/Tuple4f.html#interpolate(javax.vecmath.Tuple4f, javax.vecmath.Tuple4f, float)">interpolate</A>, <A HREF="../../javax/vecmath/Tuple4f.html#negate()">negate</A>, <A HREF="../../javax/vecmath/Tuple4f.html#negate(javax.vecmath.Tuple4f)">negate</A>, <A HREF="../../javax/vecmath/Tuple4f.html#scale(float)">scale</A>, <A HREF="../../javax/vecmath/Tuple4f.html#scale(float, javax.vecmath.Tuple4f)">scale</A>, <A HREF="../../javax/vecmath/Tuple4f.html#scaleAdd(float, javax.vecmath.Tuple4f)">scaleAdd</A>, <A HREF="../../javax/vecmath/Tuple4f.html#scaleAdd(float, javax.vecmath.Tuple4f, javax.vecmath.Tuple4f)">scaleAdd</A>, <A HREF="../../javax/vecmath/Tuple4f.html#set(float[])">set</A>, <A HREF="../../javax/vecmath/Tuple4f.html#set(float, float, float, float)">set</A>, <A HREF="../../javax/vecmath/Tuple4f.html#set(javax.vecmath.Tuple4d)">set</A>, <A HREF="../../javax/vecmath/Tuple4f.html#set(javax.vecmath.Tuple4f)">set</A>, <A HREF="../../javax/vecmath/Tuple4f.html#sub(javax.vecmath.Tuple4f)">sub</A>, <A HREF="../../javax/vecmath/Tuple4f.html#sub(javax.vecmath.Tuple4f, javax.vecmath.Tuple4f)">sub</A>, <A HREF="../../javax/vecmath/Tuple4f.html#toString()">toString</A></CODE></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.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="Color4f(float, float, float, float)"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(float x, float y, float z, float w)</PRE><DL><DD>Constructs and initializes a Color4f from the specified xyzw coordinates.<P><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<DD><CODE>w</CODE> - the alpha value</DL><HR><A NAME="Color4f(float[])"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(float[] c)</PRE><DL><DD>Constructs and initializes a Color4f from the array of length 4.<P><DT><B>Parameters:</B><DD><CODE>c</CODE> - the array of length 4 containing r,g,b,a in order</DL><HR><A NAME="Color4f(javax.vecmath.Color4f)"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(<A HREF="../../javax/vecmath/Color4f.html">Color4f</A> c1)</PRE><DL><DD>Constructs and initializes a Color4f from the specified Color4f.<P><DT><B>Parameters:</B><DD><CODE>c1</CODE> - the Color4f containing the initialization r,g,b,a data</DL><HR><A NAME="Color4f(javax.vecmath.Tuple4f)"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(<A HREF="../../javax/vecmath/Tuple4f.html">Tuple4f</A> t1)</PRE><DL><DD>Constructs and initializes a Color4f from the specified Tuple4f.<P><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple4f containing the initialization r,g,b,a data</DL><HR><A NAME="Color4f(javax.vecmath.Tuple4d)"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(<A HREF="../../javax/vecmath/Tuple4d.html">Tuple4d</A> t1)</PRE><DL><DD>Constructs and initializes a Color4f from the specified Tuple4d.<P><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple4d containing the initialization r,g,b,a data</DL><HR><A NAME="Color4f(java.awt.Color)"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>(java.awt.Color color)</PRE><DL><DD>Constructs and initializes a Color4f from the specified AWT Color object. No conversion is done on the color to compensate for gamma correction.<P><DT><B>Parameters:</B><DD><CODE>color</CODE> - the AWT color with which to initialize this Color4f object<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL><HR><A NAME="Color4f()"><!-- --></A><H3>Color4f</H3><PRE>public <B>Color4f</B>()</PRE><DL><DD>Constructs and initializes a Color4f to (0.0, 0.0, 0.0, 0.0).<P></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="set(java.awt.Color)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(java.awt.Color color)</PRE><DL><DD>Sets the r,g,b,a values of this Color4f 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 Color4f object<DT><B>Since:</B><DD>Java 3D 1.2</DD></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,a values of this Color4f object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new AWT Color object<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/vecmath/Color4b.html"><B>PREV CLASS</B></A> <A HREF="../../javax/vecmath/GMatrix.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="Color4f.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 | <A HREF="#fields_inherited_from_class_javax.vecmath.Tuple4f">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: 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 + -