Acad.Point2d Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Point2d(x, y);
Group
Parameters
Parameter | Description |
---|---|
x | Input X coordinate |
y | Input Y coordinate |
Description
This class wraps AcGePoint2d
ObjectARX class. It represents a point in 2D space. It can be viewed as a structure consisting of two doubles.
Properties
Name | Type | Description | Condition |
---|---|---|---|
x | number | Returns the X coordinate axis | Read-write |
y | number | Returns the Y coordinate axis | Read-write |
Exception
Throws a TypeError
object.