UNPKG
sketch
Version:
latest (0.2.0)
0.2.0
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
Sketch canvas drawing component
sketch
/
point.js
19 lines
(15 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** * Expose `Point`. */
module
.
exports
= Point;
/** * Initialize a new point. * *
@param
{Number} x *
@param
{Number} y *
@api
public */
function
Point
(x, y)
{
this
.x = x;
this
.y = y; }