Share

RectangleLightShape Class

This class encapsulates a rectangle light shape.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Lighting.LightShape
    Autodesk.Revit.DB.Lighting.RectangleLightShape


Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class RectangleLightShape : LightShape

The RectangleLightShape type exposes the following members.

Constructors

 NameDescription
Public methodRectangleLightShape() Creates a rectangle light shape object with 4.0' emit length and a 2.0' emit width.
Public methodRectangleLightShape(RectangleLightShape) Creates a copy of the given rectangle light shape
Public methodRectangleLightShape(Double, Double) Creates a rectangle light shape object with the given emit length and width.

Properties

 NameDescription
Public propertyEmitLength The emit length.
Public propertyEmitWidth The emit width.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from LightShape)

Methods

 NameDescription
Public methodClone Creates a copy of the LightShape derived object.
(Inherited from LightShape)
Public methodDispose
(Inherited from LightShape)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?