📄 color4b.html
字号:
<TH ALIGN="left"><B>Methods inherited from class javax.vecmath.<A HREF="../../javax/vecmath/Tuple4b.html" title="class in javax.vecmath">Tuple4b</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/vecmath/Tuple4b.html#clone()">clone</A>, <A HREF="../../javax/vecmath/Tuple4b.html#equals(java.lang.Object)">equals</A>, <A HREF="../../javax/vecmath/Tuple4b.html#equals(javax.vecmath.Tuple4b)">equals</A>, <A HREF="../../javax/vecmath/Tuple4b.html#get(byte[])">get</A>, <A HREF="../../javax/vecmath/Tuple4b.html#get(javax.vecmath.Tuple4b)">get</A>, <A HREF="../../javax/vecmath/Tuple4b.html#getW()">getW</A>, <A HREF="../../javax/vecmath/Tuple4b.html#getX()">getX</A>, <A HREF="../../javax/vecmath/Tuple4b.html#getY()">getY</A>, <A HREF="../../javax/vecmath/Tuple4b.html#getZ()">getZ</A>, <A HREF="../../javax/vecmath/Tuple4b.html#hashCode()">hashCode</A>, <A HREF="../../javax/vecmath/Tuple4b.html#set(byte[])">set</A>, <A HREF="../../javax/vecmath/Tuple4b.html#set(javax.vecmath.Tuple4b)">set</A>, <A HREF="../../javax/vecmath/Tuple4b.html#setW(byte)">setW</A>, <A HREF="../../javax/vecmath/Tuple4b.html#setX(byte)">setX</A>, <A HREF="../../javax/vecmath/Tuple4b.html#setY(byte)">setY</A>, <A HREF="../../javax/vecmath/Tuple4b.html#setZ(byte)">setZ</A>, <A HREF="../../javax/vecmath/Tuple4b.html#toString()">toString</A></CODE></TD></TR></TABLE> <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> <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="Color4b(byte, byte, byte, byte)"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>(byte b1, byte b2, byte b3, byte b4)</PRE><DL><DD>Constructs and initializes a Color4b from the four specified values.<P><DL><DT><B>Parameters:</B><DD><CODE>b1</CODE> - the red color value<DD><CODE>b2</CODE> - the green color value<DD><CODE>b3</CODE> - the blue color value<DD><CODE>b4</CODE> - the alpha value</DL></DL><HR><A NAME="Color4b(byte[])"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>(byte[] c)</PRE><DL><DD>Constructs and initializes a Color4b from the array of length 4.<P><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the array of length 4 containing r, g, b, and alpha in order</DL></DL><HR><A NAME="Color4b(javax.vecmath.Color4b)"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>(<A HREF="../../javax/vecmath/Color4b.html" title="class in javax.vecmath">Color4b</A> c1)</PRE><DL><DD>Constructs and initializes a Color4b from the specified Color4b.<P><DL><DT><B>Parameters:</B><DD><CODE>c1</CODE> - the Color4b containing the initialization r,g,b,a data</DL></DL><HR><A NAME="Color4b(javax.vecmath.Tuple4b)"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>(<A HREF="../../javax/vecmath/Tuple4b.html" title="class in javax.vecmath">Tuple4b</A> t1)</PRE><DL><DD>Constructs and initializes a Color4b from the specified Tuple4b.<P><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple4b containing the initialization r,g,b,a data</DL></DL><HR><A NAME="Color4b(java.awt.Color)"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>(java.awt.Color color)</PRE><DL><DD>Constructs and initializes a Color4b from the specified AWT Color object. 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 Color4b object<DT><B>Since:</B></DT> <DD>vecmath 1.2</DD></DL></DL><HR><A NAME="Color4b()"><!-- --></A><H3>Color4b</H3><PRE>public <B>Color4b</B>()</PRE><DL><DD>Constructs and initializes a Color4b to (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 color)</PRE><DL><DD>Sets the r,g,b,a values of this Color4b 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 Color4b 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,a values of this Color4b 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> </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/Color3f.html" title="class in javax.vecmath"><B>PREV CLASS</B></A> <A HREF="../../javax/vecmath/Color4f.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/Color4b.html" target="_top"><B>FRAMES</B></A> <A HREF="Color4b.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_javax.vecmath.Tuple4b">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><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 + -