Revision 59066 of marker-mid

  • Revision slug: SVG/Attribute/marker-mid
  • Revision title: marker-mid
  • Revision id: 59066
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment 219 words added, 8 words removed

Revision Content

« SVG Attribute reference home

The marker-mid defines the arrowhead or polymarker that shall be drawn at every vertex other than the first and last vertex of the given {{ SVGElement("path") }} element or basic shape.

Usage context

Categories Presentation attribute
Value none | <funciri> | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)
none
Indicates that no marker symbol shall be drawn at the given vertex.
<funciri>
The <funciri> is a Functional IRI reference to the {{ SVGElement("marker") }} element which shall be used as the arrowhead symbol or polymarker at the given vertex or vertices. If the IRI reference is not valid (e.g., it points to an object that is undefined or the object is not a {{ SVGElement("marker") }} element), then the marker(s) will not be drawn.

Examples

Elements

The following elements can use the marker-mid attribute

  • {{ SVGElement("path") }}
  • {{ SVGElement("line") }}
  • {{ SVGElement("polyline") }}
  • {{ SVGElement("polygon") }}

See also

  • {{ SVGAttr("marker") }}
  • {{ SVGAttr("marker-start") }}
  • {{ SVGAttr("marker-end") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>marker-mid</code> defines the arrowhead or polymarker that shall be drawn at every vertex other than the first and last vertex of the given {{ SVGElement("path") }} element or <a href="/en/SVG/Element#Basic_shapes" title="en/SVG/Element#Basic_shapes">basic shape</a>.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Presentation attribute</td> </tr> <tr> <th scope="row">Value</th> <td>none | <a href="/en/SVG/Content_type#FuncIRI" title="en/SVG/Content_type#FuncIRI">&lt;funciri&gt;</a> | <strong>inherit</strong></td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG11/painting.html#MarkerMidProperty" title="http://www.w3.org/TR/SVG11/painting.html#MarkerMidProperty">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<dl> <dt>none</dt> <dd>Indicates that no marker symbol shall be drawn at the given vertex.</dd> <dt>&lt;funciri&gt;</dt> <dd>The <a href="/en/SVG/Content_type#FuncIRI" title="en/SVG/Content_type#FuncIRI">&lt;funciri&gt;</a> is a Functional IRI reference to the {{ SVGElement("marker") }} element which shall be used as the arrowhead symbol or polymarker at the given vertex or vertices. If the IRI reference is not valid (e.g., it points to an object that is undefined or the object is not a {{ SVGElement("marker") }} element), then the marker(s) will not be drawn.</dd>
</dl>
<h2 id="Examples">Examples</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>marker-mid</code> attribute</p>
<ul> <li>{{ SVGElement("path") }}</li> <li>{{ SVGElement("line") }}</li> <li>{{ SVGElement("polyline") }}</li> <li>{{ SVGElement("polygon") }}</li>
</ul>
<h2 id="See_also">See also</h2>
<ul> <li>{{ SVGAttr("marker") }}</li> <li>{{ SVGAttr("marker-start") }}</li> <li>{{ SVGAttr("marker-end") }}</li>
</ul>
Revert to this revision