projects/wms-framework/src/lib/models/controls/PointModel.ts
Model class to represent Point.
Properties |
constructor(X?: number, Y?: number)
|
Public Optional X |
Type : number
|
Public Optional Y |
Type : number
|
export class PointModel {
constructor(public X?: number, public Y?: number) {
if (typeof this.X === 'undefined') {
this.X = 0;
}
if (typeof this.Y === 'undefined') {
this.Y = 0;
}
}
}