PointLight Class
A light at a point, that shines in every direction: fePointLight of SVG.
public sealed class PointLight : FilterLightSourceRemarks
The vector toward the light from a pixel at (x, y) is (lx - x, ly - y, lz - surfaceScale A(x, y)), normalized.
- Inheritance
FilterLightSourcePointLight
Constructors
| Name | Description |
|---|---|
| PointLight(double, double, double) | Initializes a new instance of the PointLight class. |
PointLight(double, double, double)
PointLight.csInitializes a new instance of the PointLight class.
Parameters
xdouble- The x of the light, in the drawing.
ydouble- The y of the light, in the drawing.
zdouble- The height of the light above the plane, in units of the drawing.
Exceptions
ArgumentException- A coordinate is not a finite number.
ArgumentOutOfRangeException- The magnitude of a coordinate exceeds 16777216.
Properties
| Name | Description |
|---|---|
| X | Gets the x of the light. |
| Y | Gets the y of the light. |
| Z | Gets the height of the light above the plane. |