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

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

Cú pháp

js
createSVGMatrix()

Tham số

Không có.

Giá trị trả về

Một đối tượng DOMMatrix, được khởi tạo thành ma trận đơn vị.

Thông số kỹ thuật

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

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

Xem thêm