1. Reid van Melle
  2. clutter-ocaml

Source

clutter-ocaml / html / Clutter.Color.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Clutter.Vertex.html">
<link rel="Up" href="Clutter.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Clutter" rel="Chapter" href="Clutter.html">
<link title="ClutterEnums" rel="Chapter" href="ClutterEnums.html">
<link title="PangolibEnums" rel="Chapter" href="PangolibEnums.html">
<link title="ClutterData" rel="Chapter" href="ClutterData.html">
<link title="Event" rel="Chapter" href="Event.html">
<link title="Structs" rel="Chapter" href="Structs.html">
<link title="ClutterProps" rel="Chapter" href="ClutterProps.html">
<link title="OclutterProps" rel="Chapter" href="OclutterProps.html">
<link title="ClutterActor" rel="Chapter" href="ClutterActor.html">
<link title="ClutterContainer" rel="Chapter" href="ClutterContainer.html">
<link title="ClutterTexture" rel="Chapter" href="ClutterTexture.html">
<link title="ClutterBehaviour" rel="Chapter" href="ClutterBehaviour.html">
<link title="ClutterGroup" rel="Chapter" href="ClutterGroup.html">
<link title="ClutterStage" rel="Chapter" href="ClutterStage.html">
<link title="ClutterRectangle" rel="Chapter" href="ClutterRectangle.html">
<link title="ClutterTimeline" rel="Chapter" href="ClutterTimeline.html">
<link title="ClutterAlpha" rel="Chapter" href="ClutterAlpha.html">
<link title="ClutterEffects" rel="Chapter" href="ClutterEffects.html">
<link title="ClutterLabel" rel="Chapter" href="ClutterLabel.html">
<link title="ClutterScore" rel="Chapter" href="ClutterScore.html">
<link title="ClutterCairo" rel="Chapter" href="ClutterCairo.html">
<link title="CoglEnums" rel="Chapter" href="CoglEnums.html">
<link title="Cogl" rel="Chapter" href="Cogl.html"><title>ClutterOcaml : Clutter.Color</title>
</head>
<body>
<div class="navbar"><a href="Clutter.Vertex.html">Previous</a>
&nbsp;<a href="Clutter.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_Clutter.Color.html">Clutter.Color</a></h1></center>
<br>
<pre><span class="keyword">module</span> Color: <code class="code">sig</code> <a href="Clutter.Color.html">..</a> <code class="code">end</code></pre>ClutterColor wrapper object<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t = <code class="type">Gpointer.boxed</code> </pre>

<pre><span class="keyword">val</span> <a name="VALred"></a><a href="code_VALClutter.Color.red.html">red</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALgreen"></a><a href="code_VALClutter.Color.green.html">green</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALblue"></a><a href="code_VALClutter.Color.blue.html">blue</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALalpha"></a><a href="code_VALClutter.Color.alpha.html">alpha</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALset_red"></a><a href="code_VALClutter.Color.set_red.html">set_red</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALset_green"></a><a href="code_VALClutter.Color.set_green.html">set_green</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALset_blue"></a><a href="code_VALClutter.Color.set_blue.html">set_blue</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALset_alpha"></a><a href="code_VALClutter.Color.set_alpha.html">set_alpha</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALparse"></a><a href="code_VALClutter.Color.parse.html">parse</a> : <code class="type">name:string -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALto_pixel"></a><a href="code_VALClutter.Color.to_pixel.html">to_pixel</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALto_string"></a><a href="code_VALClutter.Color.to_string.html">to_string</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> string</code></pre><pre><span class="keyword">val</span> <a name="VALfrom_hls"></a><a href="code_VALClutter.Color.from_hls.html">from_hls</a> : <code class="type">int -> int -> int -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALadd"></a><a href="code_VALClutter.Color.add.html">add</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALsubtract"></a><a href="code_VALClutter.Color.subtract.html">subtract</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALlighten"></a><a href="code_VALClutter.Color.lighten.html">lighten</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALdarken"></a><a href="code_VALClutter.Color.darken.html">darken</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALshade"></a><a href="code_VALClutter.Color.shade.html">shade</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> float -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALto_hls"></a><a href="code_VALClutter.Color.to_hls.html">to_hls</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> float * float * float</code></pre><pre><span class="keyword">val</span> <a name="VALcreate"></a><a href="code_VALClutter.Color.create.html">create</a> : <code class="type">red:int -> green:int -> blue:int -> alpha:int -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEcolor"></a><a href="Clutter.Color.color.html">color</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> </code><code class="code">object</code> <a href="Clutter.Color.color.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">val</span> <a name="VALrgba"></a><a href="code_VALClutter.Color.rgba.html">rgba</a> : <code class="type">int * int * int * int -> <a href="Clutter.Color.color.html">color</a></code></pre><pre><span class="keyword">val</span> <a name="VALrgb"></a><a href="code_VALClutter.Color.rgb.html">rgb</a> : <code class="type">int * int * int -> <a href="Clutter.Color.color.html">color</a></code></pre><pre><span class="keyword">val</span> <a name="VALparse"></a><a href="code_VALClutter.Color.parse.html">parse</a> : <code class="type">string -> <a href="Clutter.Color.color.html">color</a></code></pre><pre><span class="keyword">val</span> <a name="VALas_color"></a><a href="code_VALClutter.Color.as_color.html">as_color</a> : <code class="type"><a href="Clutter.Color.color.html">color</a> -> <a href="Clutter.Color.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALwrap_color"></a><a href="code_VALClutter.Color.wrap_color.html">wrap_color</a> : <code class="type"><a href="Clutter.Color.html#TYPEt">t</a> -> <a href="Clutter.Color.color.html">color</a></code></pre><pre><span class="keyword">val</span> <a name="VALunwrap_color"></a><a href="code_VALClutter.Color.unwrap_color.html">unwrap_color</a> : <code class="type">< as_color : 'a; .. > -> 'a</code></pre><pre><span class="keyword">val</span> <a name="VALconv_color"></a><a href="code_VALClutter.Color.conv_color.html">conv_color</a> : <code class="type"><a href="Clutter.Color.color.html">color</a> Gobject.data_conv</code></pre></body></html>