ASP.NET MVC Controls
Point Class
File
wijmo.js
Module
wijmo

Class that represents a point (with x and y coordinates).

Constructor

Properties

Methods

Constructor

constructor

constructor(x?: number, y?: number): Point

Initializes a new instance of the Point class.

Parameters
Returns
Point

Properties

x

Gets or sets the x coordinate of this Point.

Type
number

y

Gets or sets the y coordinate of this Point.

Type
number

Methods

clone

clone(): Point

Creates a copy of this Point.

Returns
Point

equals

equals(pt: Point): boolean

Returns true if a Point has the same coordinates as this Point.

Parameters
Returns
boolean

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback