Coordinate class
Menentukan koordinat dalam ruang 2D.
Konstruktor
Coordinate(number, number) |
Properti
x | |
y |
Detail Konstruktor
Coordinate(number, number)
new Coordinate(x: number, y: number)
Parameter
- x
-
number
- y
-
number
Detail Properti
x
x: number
Nilai Properti
number
y
y: number
Nilai Properti
number