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

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 createSVGNumber() của giao diện SVGSVGElement tạo một đối tượng SVGNumber bên ngoài bất kỳ cây tài liệu nào.

Cú pháp

js
createSVGNumber()

Tham số

Không có.

Giá trị trả về

Một đối tượng SVGNumber, được khởi tạo thành 0.

Thông số kỹ thuật

Thông số kỹ thuật
Scalable Vector Graphics (SVG) 2
# __svg__SVGSVGElement__createSVGNumber

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

Xem thêm