Class: Dot

Dot

Class representing a dot.

Constructor

new Dot(x, y, width)

Create a dot.
Parameters:
Name Type Description
x number The x value.
y number The y value.
width number The width of the dot, in pixels.
Source:

Extends

Methods

getWidth() → {number}

Get the dot's width.
Source:
Returns:
The dot's width, in pixels.
Type
number

getX() → {number}

Get the x value.
Inherited From:
Source:
Returns:
The x value.
Type
number

getY() → {number}

Get the y value.
Inherited From:
Source:
Returns:
The y value.
Type
number