MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
您的搜尋結果

    x

    Our volunteers haven't translated this article into 正體中文 (繁體) yet. Join us and help get the job done!

    « SVG Attribute reference home

    This attribute indicates an x-axis coordinate in the user coordinate system. The exact effect of this coordinate depend on each element. Most of the time, it represent the x-axis coordinate of the upper-left corner of the rectangular region of the reference element (see each individual element's documentation for exceptions).

    If the attribute is not specified, the effect is as if a value of 0 were specified except for the <filter> and <mask> elements where the default value is -10%.

    Usage context

    Categories None
    Value <coordinate>
    Animatable Yes
    Normative document 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

    Elements

    The following elements can use the x attribute

    Document Tags and Contributors

    Contributors to this page: Marinolinderhof, Jeremie
    最近更新: Marinolinderhof,