Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

x

这篇文章需要技术复核。如何帮忙。

这篇文章需要文法复核。如何帮忙。

« SVG属性参考主页

该属性在用户坐标系统中标识了一个x轴坐标。本坐标的确切效果依赖于每个元素。大多数时候,它体现了引用元素的矩形区域的左上角的x轴坐标(请阅读每个元素的文档以了解例外情况)。

如果没有指定这个属性,效果相当于值被设置为0,除了<filter>元素以及<mask>元素;这两个元素的x默认值为-10%

用法

类别
<coordinate>
可变性 Yes
规范文档 SVG 1.1 (2nd Edition): altGlyph element
SVG 1.1 (2nd Edition): cursor element
SVG 1.1 (2nd Edition): fePointLight element
SVG 1.1 (2nd Edition): feSpotLight element
SVG 1.1 (2nd Edition): filter element
SVG 1.1 (2nd Edition): foreignObject element
SVG 1.1 (2nd Edition): glyphRef element
SVG 1.1 (2nd Edition): image element
SVG 1.1 (2nd Edition): pattern element
SVG 1.1 (2nd Edition): rect element
SVG 1.1 (2nd Edition): svg element
SVG 1.1 (2nd Edition): text element
SVG 1.1 (2nd Edition): use element
SVG 1.1 (2nd Edition): Filter primitive
SVG 1.1 (2nd Edition): mask element
SVG 1.1 (2nd Edition): tspan element

元素

下列元素可以使用x属性:

文档标签和贡献者

 此页面的贡献者: fanxiaojie
 最后编辑者: fanxiaojie,