---
title: Point
description: Structure representing a point.
---

Structure representing a point.

The structure encapsulates a coordinate in a two-dimensional coordinate system.

## Properties

### x

X value.

```typescript
x: number
```

### y

Y value.

```typescript
y: number
```

## Methods

<span id="-new-point" class="api-anchor"></span>

### new Point(x, y)

Constructs a new point.

```typescript
new Point(x: number, y: number)
```

#### Parameters

**`x` `number`**

X value.

**`y` `number`**

Y value.