<?xml version="1.0"?>
<page id="Gimp.RGB.set"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.RGB" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_rgb_set</api:name>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>red</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>green</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>blue</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.RGB.prototype.set</title>
  <synopsis><code mime="text/x-gjs">
function set(red: Number(gdouble), green: Number(gdouble), blue: Number(gdouble)): void {
    // Gjs wrapper for gimp_rgb_set()
}
  </code></synopsis>
  <p>Sets the red, green and blue components of <code>rgb</code> and leaves the
alpha component unchanged. The color values should be between 0.0
and 1.0 but there is no check to enforce this and the values are
set exactly as they are passed in.</p>

<terms>
<item>
<title><code>red</code></title>
  <p>the red component</p>
</item>
<item>
<title><code>green</code></title>
  <p>the green component</p>
</item>
<item>
<title><code>blue</code></title>
  <p>the blue component</p>
</item>
</terms>

</page>
