<subhead>Type</subhead>
<header>Point</header>

Represents a 2D (x,y) point.

## Properties

| Property | Type | Description |
|:---------|:-----|:------------|
<prop class="rw">x</prop> | <type>float</type> | X coordinate
<prop class="rw">y</prop> | <type>float</type> | Y coordinate

## Constructors

<code><type>Point</type>.<func>new</func>()</code>

Creates a new point with <prop>x</prop> and <prop>y</prop> both set to `0`.

---

<code><type>Point</type>.<func>new</func>(<arg>x</arg>, <arg>y</arg>)</code>

Creates a new point with the given <arg>x</arg> and <arg>y</arg> values.

#### Parameters

* <arg>x</arg> (<type>float</type>): The X coordinate
* <arg>y</arg> (<type>float</type>): The Y coordinate
