SVGSVGElement: phương thức createSVGPoint()

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Phương thức createSVGPoint() của giao diện SVGSVGElement tạo một đối tượng DOMPoint bên ngoài bất kỳ cây tài liệu nào.

Cú pháp

js
createSVGPoint()

Tham số

Không có.

Giá trị trả về

Một đối tượng DOMPoint, được khởi tạo tại điểm (0,0) trong hệ tọa độ người dùng.

Thông số kỹ thuật

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGSVGElement__createSVGPoint

Tương thích trình duyệt

Xem thêm