SVGFilterElement

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.

Giao diện SVGFilterElement cung cấp quyền truy cập vào các thuộc tính của phần tử <filter>, cũng như các phương thức để thao tác chúng.

EventTarget Node Element SVGElement SVGFilterElement

Thuộc tính phiên bản

SVGFilterElement.href Read only

Một SVGAnimatedString tương ứng với thuộc tính href hoặc xlink:href Deprecated của phần tử <filter> đã cho.

SVGFilterElement.filterUnits Read only

Một SVGAnimatedEnumeration tương ứng với thuộc tính filterUnits của phần tử <filter> đã cho. Nhận một trong các hằng số được định nghĩa trong SVGUnitTypes.

SVGFilterElement.primitiveUnits Read only

Một SVGAnimatedEnumeration tương ứng với thuộc tính primitiveUnits của phần tử <filter> đã cho. Nhận một trong các hằng số được định nghĩa trong SVGUnitTypes.

SVGFilterElement.x Read only

Một SVGAnimatedLength tương ứng với thuộc tính x của phần tử <filter> đã cho.

SVGFilterElement.y Read only

Một SVGAnimatedLength tương ứng với thuộc tính y của phần tử <filter> đã cho.

SVGFilterElement.width Read only

Một SVGAnimatedLength tương ứng với thuộc tính width của phần tử <filter> đã cho.

SVGFilterElement.height Read only

Một SVGAnimatedLength tương ứng với thuộc tính height của phần tử <filter> đã cho.

Thông số kỹ thuật

Specification
Filter Effects Module Level 1
# InterfaceSVGFilterElement

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

Xem thêm