Skip to main content

Point2d

The Point2d class describes a point in a plane. It is derived from the VisionElement base class.

Constructors​

Empty constructor.

new Point2d(): Point2d;

Constructor with the coordinates of the point.

new Point2d(x: number, y: number): Point2d;

Value​

x​

The X coordinate of the point.

x: number;

y​

The Y coordinate of the point.

y: number;

Props​

color​

The color of the point in hexadecimal format.

color: string;