Skip to content

RectangleLightShape

Public 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: 25.0.0.0 (25.0.0.0)

Syntax

public class RectangleLightShape : LightShape

The RectangleLightShape type exposes the following members.

Constructors

Name

Description


Public Method
RectangleLightShape.

Creates a rectangle light shape object with 4.0’ emit length and a 2.0’ emit width.


Public Method
RectangleLightShape(RectangleLightShape)

Creates a copy of the given rectangle light shape


Public Method
RectangleLightShape(Double, Double)

Creates a rectangle light shape object with the given emit length and width.


Properties

Name

Description


Public Property

The emit length.


Public Property

The emit width.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.
(Inherited from LightShape)


Methods

Name

Description


Public Method

Creates a copy of the LightShape derived object.
(Inherited from LightShape)


Public Method

(Inherited from LightShape)


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)