[]
        
(Showing Draft Content)

FarPoint.Web.Chart.Light

Light Class

Represents the base class for light sources.

Implements
Namespace: FarPoint.Web.Chart
Assembly: FarPoint.Web.Chart.dll
Syntax
public abstract class Light : IXmlSerializable
Public MustInherit Class Light
    Implements IXmlSerializable

Constructors

Name Description
Light()

Creates a new light.

Light(Light)

Creates a new light that is a copy of the specified light.

Properties

Name Description
AmbientColor

Gets or sets the ambient color of the light.

DiffuseColor

Gets or sets the diffuse color of the light.

SpecularColor

Gets or sets the specular color of the light.

Methods

Name Description
GetSchema()

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 XmlSchemaProviderAttribute to the class.

OnChanged(EventArgs)

Raises the Changed event.

ReadXml(XmlReader)

Generates an object from its XML representation.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Events

Name Description
Changed

Occurs when the light is changed.