SvgMarkerElement Class
https://w3c.github.io/svgwg/svg2-draft/painting.html#svgmarkerelement
public sealed class SvgMarkerElement : SvgElement- Inheritance
SvgElementSvgMarkerElement
Properties
| Name | Description |
|---|---|
| MarkerHeight | Gets the markerHeight attribute as a SVGAnimatedLength object. |
| MarkerUnits | Gets the markerUnits attribute as a SVGAnimatedEnumeration object. |
| MarkerWidth | Gets the markerWidth attribute as a SVGAnimatedLength object. |
| Orient | https://svgwg.org/svg2-draft/painting.html#__svg__SVGMarkerElement__orient |
| OrientAngle | Gets the orientAngle attribute as a SVGAnimatedAngle object. |
| OrientType | Gets the orientType attribute as a SVGAnimatedEnumeration object. |
| PreserveAspectRatio | Gets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object. |
| RefX | Gets the refX attribute as a SVGAnimatedLength object. |
| RefY | Gets the refY attribute as a SVGAnimatedLength object. |
| ViewBox | Gets the viewBox attribute as a SVGAnimatedRect object. |
MarkerHeight
SvgElements.g.csGets the markerHeight attribute as a SVGAnimatedLength object.
public SvgAnimatedLength MarkerHeight { get; }MarkerUnits
SvgElements.g.csGets the markerUnits attribute as a SVGAnimatedEnumeration object.
public SvgAnimatedEnumeration MarkerUnits { get; }MarkerWidth
SvgElements.g.csGets the markerWidth attribute as a SVGAnimatedLength object.
public SvgAnimatedLength MarkerWidth { get; }Orient
SvgElements.cshttps://svgwg.org/svg2-draft/painting.html#__svg__SVGMarkerElement__orient
public string Orient { get; set; }OrientAngle
SvgElements.g.csGets the orientAngle attribute as a SVGAnimatedAngle object.
public SvgAnimatedAngle OrientAngle { get; }OrientType
SvgElements.g.csGets the orientType attribute as a SVGAnimatedEnumeration object.
public SvgAnimatedEnumeration OrientType { get; }PreserveAspectRatio
SvgElements.g.csGets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.
public SvgAnimatedPreserveAspectRatio PreserveAspectRatio { get; }RefX
SvgElements.g.csGets the refX attribute as a SVGAnimatedLength object.
public SvgAnimatedLength RefX { get; }RefY
SvgElements.g.csGets the refY attribute as a SVGAnimatedLength object.
public SvgAnimatedLength RefY { get; }ViewBox
SvgElements.g.csGets the viewBox attribute as a SVGAnimatedRect object.
public SvgAnimatedRect ViewBox { get; }Methods
| Name | Description |
|---|---|
| SetOrientToAngle(SvgAngle) | Sets the orient attribute to the given angle. |
| SetOrientToAuto() | Sets the orient attribute to auto. |
SetOrientToAngle(SvgAngle)
SvgElements.csSets the orient attribute to the given angle.
SetOrientToAuto()
SvgElements.csSets the orient attribute to auto.
public void SetOrientToAuto()Constants
| Name | Description |
|---|---|
| SvgMarkerOrientAngle | The SVG_MARKER_ORIENT_ANGLE constant (2). |
| SvgMarkerOrientAuto | The SVG_MARKER_ORIENT_AUTO constant (1). |
| SvgMarkerOrientAutoStartReverse | The SVG_MARKER_ORIENT_AUTO_START_REVERSE constant (3). |
| SvgMarkerOrientUnknown | The SVG_MARKER_ORIENT_UNKNOWN constant (0). |
| SvgMarkerunitsStrokewidth | The SVG_MARKERUNITS_STROKEWIDTH constant (2). |
| SvgMarkerunitsUnknown | The SVG_MARKERUNITS_UNKNOWN constant (0). |
| SvgMarkerunitsUserspaceonuse | The SVG_MARKERUNITS_USERSPACEONUSE constant (1). |
SvgMarkerOrientAngle
The SVG_MARKER_ORIENT_ANGLE constant (2).
public const ushort SvgMarkerOrientAngle = 2SvgMarkerOrientAuto
The SVG_MARKER_ORIENT_AUTO constant (1).
public const ushort SvgMarkerOrientAuto = 1SvgMarkerOrientAutoStartReverse
The SVG_MARKER_ORIENT_AUTO_START_REVERSE constant (3).
public const ushort SvgMarkerOrientAutoStartReverse = 3SvgMarkerOrientUnknown
The SVG_MARKER_ORIENT_UNKNOWN constant (0).
public const ushort SvgMarkerOrientUnknown = 0SvgMarkerunitsStrokewidth
The SVG_MARKERUNITS_STROKEWIDTH constant (2).
public const ushort SvgMarkerunitsStrokewidth = 2SvgMarkerunitsUnknown
The SVG_MARKERUNITS_UNKNOWN constant (0).
public const ushort SvgMarkerunitsUnknown = 0SvgMarkerunitsUserspaceonuse
The SVG_MARKERUNITS_USERSPACEONUSE constant (1).
public const ushort SvgMarkerunitsUserspaceonuse = 1