blob: 0efd4c6040122e1424fc21a870b4617b4a5f8fac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* Created by obarda on 11/7/2016.
*/
/// <reference path="../../references"/>
module Sdc.Models.Graph {
export class Point {
/**
* The two-argument constructor produces the Point(x, y).
* @param {number} x
* @param {number} y
*/
constructor(x?:number, y?:number) {
this.x = x || 0;
this.y = y || 0;
}
/**Gets or sets the x value of the Point.*/
x:number;
/**Gets or sets the y value of the Point.*/
y:number;
}
}
|