|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <head>
- <title>protoplug: Class juce.Colour</title>
- <link rel="stylesheet" href="../ldoc.css" type="text/css" />
- </head>
- <body>
-
- <div id="container">
-
- <div id="product">
- <div id="product_logo"></div>
- <div id="product_name"><big><b></b></big></div>
- <div id="product_description"></div>
- </div> <!-- id="product" -->
-
-
- <div id="main">
-
-
- <!-- Menu -->
-
- <div id="navigation">
- <a href="http://osar.fr">
- <div class=osarlogo> </div>
- </a>
- <br/>
- <a href="http://osar.fr/protoplug">
- <h1>protoplug</h1>
- </a>
- <span class="proto_subtitle">Lua API reference</span>
-
- <ul>
- <li><a href="../index.html">Index</a></li>
- </ul>
-
- <h2>Contents</h2>
- <ul>
- <li><a href="#Constructors">Constructors</a></li>
- <li><a href="#Fields">Fields</a></li>
- <li><a href="#Predefined_values">Predefined values</a></li>
- </ul>
-
-
- <h2>Classes</h2>
- <ul class="$(kind=='Topics' and '' or 'nowrap'">
- <li><a href="../classes/juce.AffineTransform.html">juce.AffineTransform</a></li>
- <li><a href="../classes/juce.AudioFormatReader.html">juce.AudioFormatReader</a></li>
- <li><strong>juce.Colour</strong></li>
- <li><a href="../classes/juce.ColourGradient.html">juce.ColourGradient</a></li>
- <li><a href="../classes/juce.Component.html">juce.Component</a></li>
- <li><a href="../classes/juce.FillType.html">juce.FillType</a></li>
- <li><a href="../classes/juce.Font.html">juce.Font</a></li>
- <li><a href="../classes/juce.Graphics.html">juce.Graphics</a></li>
- <li><a href="../classes/juce.Image.html">juce.Image</a></li>
- <li><a href="../classes/juce.Justification.html">juce.Justification</a></li>
- <li><a href="../classes/juce.LagrangeInterpolator.html">juce.LagrangeInterpolator</a></li>
- <li><a href="../classes/juce.Line.html">juce.Line</a></li>
- <li><a href="../classes/juce.Path.html">juce.Path</a></li>
- <li><a href="../classes/juce.Point.html">juce.Point</a></li>
- <li><a href="../classes/juce.RectanglePlacement.html">juce.RectanglePlacement</a></li>
- <li><a href="../classes/juce.Rectangle_float.html">juce.Rectangle_float</a></li>
- <li><a href="../classes/juce.Rectangle_int.html">juce.Rectangle_int</a></li>
- </ul>
- <h2>Modules</h2>
- <ul class="$(kind=='Topics' and '' or 'nowrap'">
- <li><a href="../modules/plugin.html">plugin</a></li>
- <li><a href="../modules/script.html">script</a></li>
- <li><a href="../modules/midi.html">midi</a></li>
- <li><a href="../modules/gui.html">gui</a></li>
- <li><a href="../modules/polyGen.html">polyGen</a></li>
- <li><a href="../modules/stereoFx.html">stereoFx</a></li>
- </ul>
- <h2>Examples</h2>
- <ul class="$(kind=='Topics' and '' or 'nowrap'">
- <li><a href="../examples/classic-filter.lua.html">classic-filter.lua</a></li>
- <li><a href="../examples/sine-organ.lua.html">sine-organ.lua</a></li>
- <li><a href="../examples/midi-chordify.lua.html">midi-chordify.lua</a></li>
- <li><a href="../examples/sinemouse-demo.lua.html">sinemouse-demo.lua</a></li>
- <li><a href="../examples/soundfile-test.lua.html">soundfile-test.lua</a></li>
- </ul>
-
- </div>
-
- <div id="content">
-
- <h1>Class <code>juce.Colour</code></h1>
- <p>A simple colour class.</p>
- <p> Is converted to a <a href="http://www.juce.com/api/classColour.html">JUCE Colour</a></p>
-
-
- <h2><a href="#Constructors">Constructors</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.Colour"><span class="proto_prefix">juce</span>.Colour (r, g, b[, a])</a></td>
- <td class="summary">Constuctor with classical arguments.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.Colour"><span class="proto_prefix">juce</span>.Colour (args)</a></td>
- <td class="summary">Constuctor with named arguments.</td>
- </tr>
- </table>
- <h2><a href="#Fields">Fields</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.r"><span class="proto_prefix">juce.Colour</span>.r</a></td>
- <td class="summary">Red (0-255)</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.g"><span class="proto_prefix">juce.Colour</span>.g</a></td>
- <td class="summary">Green (0-255)</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.b"><span class="proto_prefix">juce.Colour</span>.b</a></td>
- <td class="summary">Blue (0-255)</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.a"><span class="proto_prefix">juce.Colour</span>.a</a></td>
- <td class="summary">Alpha (0-255)</td>
- </tr>
- </table>
- <h2><a href="#Predefined_values">Predefined values</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.black"><span class="proto_prefix">juce.Colour</span>.black</a></td>
- <td class="summary">
-
- </td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.white"><span class="proto_prefix">juce.Colour</span>.white</a></td>
- <td class="summary">
-
- </td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.red"><span class="proto_prefix">juce.Colour</span>.red</a></td>
- <td class="summary">
-
- </td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.green"><span class="proto_prefix">juce.Colour</span>.green</a></td>
- <td class="summary">
-
- </td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#juce.Colour.blue"><span class="proto_prefix">juce.Colour</span>.blue</a></td>
- <td class="summary">
-
- </td>
- </tr>
- </table>
-
- <br/>
- <br/>
-
-
- <h2><a name="Constructors"></a>Constructors</h2>
- <dl class="function">
- <dt>
- <a name = "juce.Colour.Colour"></a>
- <strong><span class="proto_prefix">juce</span>.Colour (r, g, b[, a])</strong>
- </dt>
- <dd>
- Constuctor with classical arguments.
-
- </ul>
-
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">r</span>
- red
- </li>
- <li><span class="parameter">g</span>
- green
- </li>
- <li><span class="parameter">b</span>
- blue
- </li>
- <li><span class="parameter">a</span>
- alpha
- </li>
- </ul>
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.Colour"></a>
- <strong><span class="proto_prefix">juce</span>.Colour (args)</strong>
- </dt>
- <dd>
- Constuctor with named arguments.
- Every field is optional.
-
- </ul>
-
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">args</span>
-
-
- <ul>
- <li><span class="parameter">r</span>
- red
- </li>
- <li><span class="parameter">g</span>
- green
- </li>
- <li><span class="parameter">b</span>
- blue,
- </li>
- <li><span class="parameter">a</span>
- alpha
- </li>
- </li></ul>
- </ul>
-
-
-
-
-
- </dd>
- </dl>
- <h2><a name="Fields"></a>Fields</h2>
- <dl class="function">
- <dt>
- <a name = "juce.Colour.r"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.r</strong>
- </dt>
- <dd>
- Red (0-255)
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.g"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.g</strong>
- </dt>
- <dd>
- Green (0-255)
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.b"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.b</strong>
- </dt>
- <dd>
- Blue (0-255)
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.a"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.a</strong>
- </dt>
- <dd>
- Alpha (0-255)
-
- </ul>
-
-
-
-
-
-
- </dd>
- </dl>
- <h2><a name="Predefined_values"></a>Predefined values</h2>
- <dl class="function">
- <dt>
- <a name = "juce.Colour.black"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.black</strong>
- </dt>
- <dd>
-
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.white"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.white</strong>
- </dt>
- <dd>
-
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.red"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.red</strong>
- </dt>
- <dd>
-
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.green"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.green</strong>
- </dt>
- <dd>
-
-
- </ul>
-
-
-
-
-
-
- </dd>
- <dt>
- <a name = "juce.Colour.blue"></a>
- <strong><span class="proto_prefix">juce.Colour</span>.blue</strong>
- </dt>
- <dd>
-
-
- </ul>
-
-
-
-
-
-
- </dd>
- </dl>
-
-
- </div> <!-- id="content" -->
- </div> <!-- id="main" -->
- <div id="about">
- <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.2</a></i>
- </div> <!-- id="about" -->
- </div> <!-- id="container" -->
- </body>
- </html>
|