Acad.Rectangle2d Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Rectangle2d(lowerLeft, upperRight);
Group
Parameters
Parameter | Description |
---|---|
lowerLeft | type Acad.Point2d |
upperRight | type Acad.Point2d |
Description
This class wraps the lowerLeft and upperRight Acad.Point2d objects.
Properties
Name | Type | Description | Condition |
---|---|---|---|
lowerLeft | Acad.Point2d | Returns the lower-left point of rectangle | Read-write |
upperRight | Acad.Point2d | Returns the upper-right point of rectangle | Read-write |
Exception
Throws a TypeError
object.