SVGTextPositioningElement

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 SVGTextPositioningElement được triển khai bởi các phần tử hỗ trợ các thuộc tính định vị từng ký tự văn bản riêng lẻ. Nó được kế thừa bởi SVGTextElementSVGTSpanElement.

EventTarget Node Element SVGElement SVGGraphicsElement SVGTextContentElement SVGTextPositioningElement

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

Giao diện này cũng kế thừa các thuộc tính từ cha của nó, SVGTextContentElement.

SVGTextPositioningElement.x Read only

Trả về một SVGAnimatedLengthList phản ánh thuộc tính x của phần tử đã cho.

SVGTextPositioningElement.y Read only

Trả về một SVGAnimatedLengthList phản ánh thuộc tính y của phần tử đã cho.

SVGTextPositioningElement.dx Read only

Trả về một SVGAnimatedLengthList phản ánh thuộc tính dx của phần tử đã cho.

SVGTextPositioningElement.dy Read only

Trả về một SVGAnimatedLengthList phản ánh thuộc tính dy của phần tử đã cho.

SVGTextPositioningElement.rotate Read only

Trả về một SVGAnimatedNumberList phản ánh thuộc tính rotate của phần tử đã cho.

Phương thức phiên bản

Giao diện này không cung cấp bất kỳ phương thức cụ thể nào, nhưng kế thừa các phương thức từ cha của nó, SVGTextContentElement.

Thông số kỹ thuật

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGTextPositioningElement

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