# FarPoint.Web.Chart.DirectionalLight

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Chart_DirectionalLight" data-uid="FarPoint.Web.Chart.DirectionalLight" class="text-break">DirectionalLight Class
</h1>
  <div class="markdown level0 summary"><p>Represents a directional light source.</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"><a class="xref" href="FarPoint.Web.Chart.Light.html">Light</a></div>
    <div class="level2"><span class="xref">DirectionalLight</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.serialization.ixmlserializable">IXmlSerializable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Chart.html">FarPoint.Web.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Chart.dll</h6>
  <h5 id="FarPoint_Web_Chart_DirectionalLight_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DirectionalLight : Light, IXmlSerializable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DirectionalLight
    Inherits Light
    Implements IXmlSerializable, ICloneable</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_Web_Chart_DirectionalLight__ctor" data-uid="FarPoint.Web.Chart.DirectionalLight.#ctor">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.-ctor.html#FarPoint_Web_Chart_DirectionalLight__ctor">DirectionalLight()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_DirectionalLight__ctor_FarPoint_Web_Chart_DirectionalLight_" data-uid="FarPoint.Web.Chart.DirectionalLight.#ctor(FarPoint.Web.Chart.DirectionalLight)">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.-ctor.html#FarPoint_Web_Chart_DirectionalLight__ctor_FarPoint_Web_Chart_DirectionalLight_">DirectionalLight(DirectionalLight)</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_Web_Chart_DirectionalLight_DirectionX" data-uid="FarPoint.Web.Chart.DirectionalLight.DirectionX">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.DirectionX.html#FarPoint_Web_Chart_DirectionalLight_DirectionX">DirectionX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x coordinate of the direction of the light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_DirectionalLight_DirectionY" data-uid="FarPoint.Web.Chart.DirectionalLight.DirectionY">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.DirectionY.html#FarPoint_Web_Chart_DirectionalLight_DirectionY">DirectionY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y coordinate of the direction of the light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_DirectionalLight_DirectionZ" data-uid="FarPoint.Web.Chart.DirectionalLight.DirectionZ">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.DirectionZ.html#FarPoint_Web_Chart_DirectionalLight_DirectionZ">DirectionZ</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the z coordinate of the direction 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_Web_Chart_DirectionalLight_Clone" data-uid="FarPoint.Web.Chart.DirectionalLight.Clone">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.Clone.html#FarPoint_Web_Chart_DirectionalLight_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of this light.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_DirectionalLight_GetSchema" data-uid="FarPoint.Web.Chart.DirectionalLight.GetSchema">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.GetSchema.html#FarPoint_Web_Chart_DirectionalLight_GetSchema">GetSchema()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is reserved and should not be used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_DirectionalLight_ReadXml_System_Xml_XmlReader_" data-uid="FarPoint.Web.Chart.DirectionalLight.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.ReadXml.html#FarPoint_Web_Chart_DirectionalLight_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_Web_Chart_DirectionalLight_WriteXml_System_Xml_XmlWriter_" data-uid="FarPoint.Web.Chart.DirectionalLight.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="FarPoint.Web.Chart.DirectionalLight.WriteXml.html#FarPoint_Web_Chart_DirectionalLight_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
