ModelsClassesPoint2DVersion: NextOn this pagePoint2D Index ConstructorsconstructorPropertiesxyMethodsToStringConstructors constructornew Point2D(): Point2DReturns Point2DProperties xx: numberyy: numberMethods publicstaticToStringToString(point: Point2D, unit: string, decimals?: number): stringParameterspoint: Point2Dunit: stringdecimals: number = -1Returns string