Constructors
constructor
- new Point(x?: number, y?: number, z?: number, w?: number): Point
-
Parameters
-
x: number = 0
-
y: number = 0
-
z: number = null
-
w: number = null
Accessors
0
- get 0(): number
-
Returns number
- set 0(x: number): void
-
Returns void
1
- get 1(): number
-
Returns number
- set 1(y: number): void
-
Returns void
2
- get 2(): number
-
Returns number
- set 2(z: number): void
-
Returns void
3
- get 3(): number
-
Returns number
- set 3(w: number): void
-
Returns void
length
- get length(): number
-
Returns number
Sample class that may be used as Return type.
Example
Example