# FarPoint.Win.Chart.Light

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Chart_Light" data-uid="FarPoint.Win.Chart.Light" class="text-break">Light Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class for light sources.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Light</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Chart.DirectionalLight.html">DirectionalLight</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Chart.PositionalLight.html">PositionalLight</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IXmlSerializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Chart.html">FarPoint.Win.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Chart.dll</h6>
  <h5 id="FarPoint_Win_Chart_Light_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class Light : IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class Light
    Implements IXmlSerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_Light__ctor" data-uid="FarPoint.Win.Chart.Light.#ctor">
          <a class="xref" href="FarPoint.Win.Chart.Light.-ctor.html#FarPoint_Win_Chart_Light__ctor">Light()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light__ctor_FarPoint_Win_Chart_Light_" data-uid="FarPoint.Win.Chart.Light.#ctor(FarPoint.Win.Chart.Light)">
          <a class="xref" href="FarPoint.Win.Chart.Light.-ctor.html#FarPoint_Win_Chart_Light__ctor_FarPoint_Win_Chart_Light_">Light(Light)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new light that is a copy of the specified light.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_Light_AmbientColor" data-uid="FarPoint.Win.Chart.Light.AmbientColor">
          <a class="xref" href="FarPoint.Win.Chart.Light.AmbientColor.html#FarPoint_Win_Chart_Light_AmbientColor">AmbientColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ambient color of the light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light_DiffuseColor" data-uid="FarPoint.Win.Chart.Light.DiffuseColor">
          <a class="xref" href="FarPoint.Win.Chart.Light.DiffuseColor.html#FarPoint_Win_Chart_Light_DiffuseColor">DiffuseColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the diffuse color of the light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light_SpecularColor" data-uid="FarPoint.Win.Chart.Light.SpecularColor">
          <a class="xref" href="FarPoint.Win.Chart.Light.SpecularColor.html#FarPoint_Win_Chart_Light_SpecularColor">SpecularColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the specular color of the light.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_Light_GetSchema" data-uid="FarPoint.Win.Chart.Light.GetSchema">
          <a class="xref" href="FarPoint.Win.Chart.Light.GetSchema.html#FarPoint_Win_Chart_Light_GetSchema">GetSchema()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the <span class="xref">System.Xml.Serialization.XmlSchemaProviderAttribute</span> to the class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light_OnChanged_System_EventArgs_" data-uid="FarPoint.Win.Chart.Light.OnChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Chart.Light.OnChanged.html#FarPoint_Win_Chart_Light_OnChanged_System_EventArgs_">OnChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light_ReadXml_System_Xml_XmlReader_" data-uid="FarPoint.Win.Chart.Light.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="FarPoint.Win.Chart.Light.ReadXml.html#FarPoint_Win_Chart_Light_ReadXml_System_Xml_XmlReader_">ReadXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates an object from its XML representation.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_Light_WriteXml_System_Xml_XmlWriter_" data-uid="FarPoint.Win.Chart.Light.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="FarPoint.Win.Chart.Light.WriteXml.html#FarPoint_Win_Chart_Light_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an object into its XML representation.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_Light_Changed" data-uid="FarPoint.Win.Chart.Light.Changed">
          <a class="xref" href="FarPoint.Win.Chart.Light.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the light is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
