<Type Name="Color" FullName="Cairo.Color">
  <TypeSignature Language="C#" Value="public struct Color" />
  <AssemblyInfo>
    <AssemblyName>Mono.Cairo</AssemblyName>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.ValueType</BaseTypeName>
  </Base>
  <Interfaces />
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Color (double r, double g, double b, double a);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="r" Type="System.Double" />
        <Parameter Name="g" Type="System.Double" />
        <Parameter Name="b" Type="System.Double" />
        <Parameter Name="a" Type="System.Double" />
      </Parameters>
      <Docs>
        <param name="r">Red value.</param>
        <param name="g">Green value.</param>
        <param name="b">Blue value,</param>
        <param name="a">Alpha value.</param>
        <summary>Main constructor to create a Color.</summary>
        <remarks>When using RGB and not RGBA, the A value is ignored by methods using this object.</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Color (double r, double g, double b);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="r" Type="System.Double" />
        <Parameter Name="g" Type="System.Double" />
        <Parameter Name="b" Type="System.Double" />
      </Parameters>
      <Docs>
        <param name="r">Red value</param>
        <param name="g">Green value</param>
        <param name="b">Blue value</param>
        <summary>Convenience to create a color with alpha of 1.0</summary>
        <remarks>See <see cref="C:Cairo.Color(System.Double,System.Double,System.Double,System.Double)" /></remarks>
      </Docs>
    </Member>
    <Member MemberName="R">
      <MemberSignature Language="C#" Value="public double R { set; get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Red value.</summary>
        <value>To be added.</value>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="G">
      <MemberSignature Language="C#" Value="public double G { set; get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Green value.</summary>
        <value>To be added.</value>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="B">
      <MemberSignature Language="C#" Value="public double B { set; get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Blue value.</summary>
        <value>To be added.</value>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="A">
      <MemberSignature Language="C#" Value="public double A { set; get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Alpha value.</summary>
        <value>To be added.</value>
        <remarks>
        </remarks>
      </Docs>
    </Member>
  </Members>
  <Docs>
    <summary>Color objects holding red, green, blue, and alpha values.</summary>
    <remarks>
      <example>
        <code lang="C#">
static readonly double  M_PI = 3.14159265358979323846;

Cairo.Graphics gr;
/* initialize gr */

/* draw an arc with a color */
gr.Color = new Color (1,0.2,0.2, 0.6);
gr.Arc (0.04, 0.53, 0.02, 0, 2*M_PI);
gr.Arc (0.27, 0.65, 0.02, 0, 2*M_PI);
gr.Fill ();

  </code>
      </example>
    </remarks>
  </Docs>
</Type>
