您的搜尋結果

    markerUnits

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

    « SVG Attribute reference home

    The markerUnits attribute defines the coordinate system for the attributes markerWidth, markerHeight and the contents of the <marker>.

    If the markerUnits attribute is not specified, then the effect is as if a value of strokeWidth were specified.

    Usage context

    Categories None
    Value userSpaceOnUse | strokeWidth
    Animatable Yes
    Normative document SVG 1.1 (2nd Edition)
    userSpaceOnUse
    markerWidth, markerHeight and the contents of the <marker> represent values in the current user coordinate system in place for the graphic object referencing the marker (i.e., the user coordinate system for the element referencing the <marker> element via a marker, marker-start, marker-mid or marker-end property).
    strokeWidth
    markerWidth, markerHeight and the contents of the <marker> represent values in a coordinate system which has a single unit equal the size in user units of the current stroke width (see the stroke-width attribute) in place for the graphic object referencing the marker.

    Examples

    Elements

    The following elements can use the markerUnits attribute:

    Document Tags and Contributors

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