SvgMarkerElement Class

https://w3c.github.io/svgwg/svg2-draft/painting.html#svgmarkerelement

public sealed class SvgMarkerElement : SvgElement
Inheritance
SvgElement SvgMarkerElement

Properties

NameDescription
MarkerHeightGets the markerHeight attribute as a SVGAnimatedLength object.
MarkerUnitsGets the markerUnits attribute as a SVGAnimatedEnumeration object.
MarkerWidthGets the markerWidth attribute as a SVGAnimatedLength object.
Orienthttps://svgwg.org/svg2-draft/painting.html#__svg__SVGMarkerElement__orient
OrientAngleGets the orientAngle attribute as a SVGAnimatedAngle object.
OrientTypeGets the orientType attribute as a SVGAnimatedEnumeration object.
PreserveAspectRatioGets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.
RefXGets the refX attribute as a SVGAnimatedLength object.
RefYGets the refY attribute as a SVGAnimatedLength object.
ViewBoxGets the viewBox attribute as a SVGAnimatedRect object.

MarkerHeight

SvgElements.g.cs

Gets the markerHeight attribute as a SVGAnimatedLength object.

public SvgAnimatedLength MarkerHeight { get; }

MarkerUnits

SvgElements.g.cs

Gets the markerUnits attribute as a SVGAnimatedEnumeration object.

public SvgAnimatedEnumeration MarkerUnits { get; }

MarkerWidth

SvgElements.g.cs

Gets the markerWidth attribute as a SVGAnimatedLength object.

public SvgAnimatedLength MarkerWidth { get; }

https://svgwg.org/svg2-draft/painting.html#__svg__SVGMarkerElement__orient

public string Orient { get; set; }

OrientAngle

SvgElements.g.cs

Gets the orientAngle attribute as a SVGAnimatedAngle object.

public SvgAnimatedAngle OrientAngle { get; }

Gets the orientType attribute as a SVGAnimatedEnumeration object.

public SvgAnimatedEnumeration OrientType { get; }

PreserveAspectRatio

SvgElements.g.cs

Gets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.

public SvgAnimatedPreserveAspectRatio PreserveAspectRatio { get; }

Gets the refX attribute as a SVGAnimatedLength object.

public SvgAnimatedLength RefX { get; }

Gets the refY attribute as a SVGAnimatedLength object.

public SvgAnimatedLength RefY { get; }

Gets the viewBox attribute as a SVGAnimatedRect object.

public SvgAnimatedRect ViewBox { get; }

Methods

NameDescription
SetOrientToAngle(SvgAngle)Sets the orient attribute to the given angle.
SetOrientToAuto()Sets the orient attribute to auto.

SetOrientToAngle(SvgAngle)

SvgElements.cs

Sets the orient attribute to the given angle.

public void SetOrientToAngle(SvgAngle angle)

SetOrientToAuto()

SvgElements.cs

Sets the orient attribute to auto.

public void SetOrientToAuto()

Constants

NameDescription
SvgMarkerOrientAngleThe SVG_MARKER_ORIENT_ANGLE constant (2).
SvgMarkerOrientAutoThe SVG_MARKER_ORIENT_AUTO constant (1).
SvgMarkerOrientAutoStartReverseThe SVG_MARKER_ORIENT_AUTO_START_REVERSE constant (3).
SvgMarkerOrientUnknownThe SVG_MARKER_ORIENT_UNKNOWN constant (0).
SvgMarkerunitsStrokewidthThe SVG_MARKERUNITS_STROKEWIDTH constant (2).
SvgMarkerunitsUnknownThe SVG_MARKERUNITS_UNKNOWN constant (0).
SvgMarkerunitsUserspaceonuseThe SVG_MARKERUNITS_USERSPACEONUSE constant (1).

SvgMarkerOrientAngle

The SVG_MARKER_ORIENT_ANGLE constant (2).

public const ushort SvgMarkerOrientAngle = 2

SvgMarkerOrientAuto

The SVG_MARKER_ORIENT_AUTO constant (1).

public const ushort SvgMarkerOrientAuto = 1

SvgMarkerOrientAutoStartReverse

The SVG_MARKER_ORIENT_AUTO_START_REVERSE constant (3).

public const ushort SvgMarkerOrientAutoStartReverse = 3

SvgMarkerOrientUnknown

The SVG_MARKER_ORIENT_UNKNOWN constant (0).

public const ushort SvgMarkerOrientUnknown = 0

SvgMarkerunitsStrokewidth

The SVG_MARKERUNITS_STROKEWIDTH constant (2).

public const ushort SvgMarkerunitsStrokewidth = 2

SvgMarkerunitsUnknown

The SVG_MARKERUNITS_UNKNOWN constant (0).

public const ushort SvgMarkerunitsUnknown = 0

SvgMarkerunitsUserspaceonuse

The SVG_MARKERUNITS_USERSPACEONUSE constant (1).

public const ushort SvgMarkerunitsUserspaceonuse = 1