This class encapsulates a rectangle light shape.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.Lighting.LightShape
Autodesk.Revit.DB.Lighting.RectangleLightShape
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class RectangleLightShape : LightShape
The RectangleLightShape type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RectangleLightShape() | Creates a rectangle light shape object with 4.0' emit length and a 2.0' emit width. | |
| RectangleLightShape(RectangleLightShape) | Creates a copy of the given rectangle light shape | |
| RectangleLightShape(Double, Double) | Creates a rectangle light shape object with the given emit length and width. |
Properties
| Name | Description | |
|---|---|---|
| EmitLength | The emit length. | |
| EmitWidth | The emit width. | |
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from LightShape) |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of the LightShape derived object.
(Inherited from LightShape) | |
| Dispose | (Inherited from LightShape) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
