Click or drag to resize
DigitalRuneLensFlareElement Class
Defines an element of a lens flare.
Inheritance Hierarchy
SystemObject
  DigitalRune.GraphicsLensFlareElement

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class LensFlareElement

The LensFlareElement type exposes the following members.

Constructors
  NameDescription
Public methodLensFlareElement
Initializes a new instance of the LensFlareElement class.
Public methodLensFlareElement(Single, Vector2F, Single, Color, Vector2F, PackedTexture)
Initializes a new instance of the LensFlareElement class.
Public methodLensFlareElement(Single, Single, Single, Color, Vector2F, PackedTexture)
Initializes a new instance of the LensFlareElement class.
Top
Methods
  NameDescription
Public methodClone
Creates a new LensFlareElement that is a clone (deep copy) of the current instance.
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified LensFlareElement.
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the LensFlareElement derived class.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the color of the element.
Public propertyDistance
The distance of the element.
Public propertyOrigin
Gets or sets the origin relative to the image.
Public propertyRotation
Gets or sets the angle (in radians) to rotate the element.
Public propertyScale
Gets or sets the scale of the element relative to Size.
Public propertyTexture
Gets or sets the texture.
Top
Remarks
LensFlareElements need to be added to the Elements collection of a LensFlare.
See Also