Class SVGMarkerElement

Class SVGMarkerElement

Namespace: Aspose.Html.Dom.Svg
Assembly: Aspose.HTML.dll (25.2.0)

The SVGMarkerElement interface corresponds to the ‘marker’ element.

[ComVisible(true)]
[DOMObject]
[DOMName("SVGMarkerElement")]
public class SVGMarkerElement : SVGElement, INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver, IParentNode, IElementTraversal, IChildNode, IElementCSSInlineStyle, ISVGFitToViewBox

Inheritance

objectDOMObjectEventTargetNodeElementSVGElementSVGMarkerElement

Implements

INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver, IParentNode, IElementTraversal, IChildNode, IElementCSSInlineStyle, ISVGFitToViewBox

Inherited Members

SVGElement.Id, SVGElement.OwnerSVGElement, SVGElement.ViewportElement, SVGElement.ClassName, SVGElement.Style, Element.GetAttributeNames(), Element.HasAttributes(), Element.GetAttribute(string), Element.GetAttributeNS(string, string), Element.SetAttribute(string, string), Element.SetAttributeNS(string, string, string), Element.RemoveAttribute(string), Element.RemoveAttributeNS(string, string), Element.HasAttribute(string), Element.HasAttributeNS(string, string), Element.ToggleAttribute(string), Element.ToggleAttribute(string, bool), Element.GetAttributeNode(string), Element.SetAttributeNode(Attr), Element.RemoveAttributeNode(Attr), Element.GetAttributeNodeNS(string, string), Element.SetAttributeNodeNS(Attr), Element.GetElementsByTagName(string), Element.GetElementsByTagNameNS(string, string), Element.Remove(), Element.QuerySelectorAll(string), Element.QuerySelector(string), Element.AttachShadow(ShadowRootMode), Element.GetElementsByClassName(string), Element.Dispose(bool), Element.ClassList, Element.LocalName, Element.NamespaceURI, Element.Prefix, Element.NodeName, Element.NodeType, Element.TagName, Element.Id, Element.ClassName, Element.TextContent, Element.Attributes, Element.FirstElementChild, Element.LastElementChild, Element.PreviousElementSibling, Element.NextElementSibling, Element.ChildElementCount, Element.Children, Element.InnerHTML, Element.OuterHTML, Element.ShadowRoot, Node.ELEMENT_NODE, Node.ATTRIBUTE_NODE, Node.TEXT_NODE, Node.CDATA_SECTION_NODE, Node.ENTITY_REFERENCE_NODE, Node.ENTITY_NODE, Node.PROCESSING_INSTRUCTION_NODE, Node.COMMENT_NODE, Node.DOCUMENT_NODE, Node.DOCUMENT_TYPE_NODE, Node.DOCUMENT_FRAGMENT_NODE, Node.NOTATION_NODE, Node.HasChildNodes(), Node.Normalize(), Node.CloneNode(), Node.CloneNode(bool), Node.IsEqualNode(Node), Node.IsSameNode(Node), Node.LookupPrefix(string), Node.LookupNamespaceURI(string), Node.IsDefaultNamespace(string), Node.InsertBefore(Node, Node), Node.ReplaceChild(Node, Node), Node.RemoveChild(Node), Node.AppendChild(Node), Node.Dispose(bool), Node.ToString(), Node.NodeType, Node.LocalName, Node.NamespaceURI, Node.Prefix, Node.NodeName, Node.BaseURI, Node.OwnerDocument, Node.ParentNode, Node.ParentElement, Node.ChildNodes, Node.FirstChild, Node.LastChild, Node.PreviousSibling, Node.NextSibling, Node.NodeValue, Node.TextContent, EventTarget.AddEventListener(string, DOMEventHandler, bool), EventTarget.AddEventListener(string, IEventListener), EventTarget.AddEventListener(string, IEventListener, bool), EventTarget.RemoveEventListener(string, DOMEventHandler, bool), EventTarget.RemoveEventListener(string, IEventListener), EventTarget.RemoveEventListener(string, IEventListener, bool), EventTarget.DispatchEvent(Event), EventTarget.Dispose(), EventTarget.Dispose(bool), DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Fields

SVG_MARKERUNITS_STROKEWIDTH

The value of attribute ‘markerUnits’ is ‘strokeWidth’.

[DOMName("SVG_MARKERUNITS_STROKEWIDTH")]
public const ushort SVG_MARKERUNITS_STROKEWIDTH = 2

Field Value

ushort

SVG_MARKERUNITS_UNKNOWN

The marker unit type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

[DOMName("SVG_MARKERUNITS_UNKNOWN")]
public const ushort SVG_MARKERUNITS_UNKNOWN = 0

Field Value

ushort

SVG_MARKERUNITS_USERSPACEONUSE

The value of attribute ‘markerUnits’ is ‘userSpaceOnUse’.

[DOMName("SVG_MARKERUNITS_USERSPACEONUSE")]
public const ushort SVG_MARKERUNITS_USERSPACEONUSE = 1

Field Value

ushort

SVG_MARKER_ORIENT_ANGLE

Attribute ‘orient’ has an angle value.

[DOMName("SVG_MARKER_ORIENT_ANGLE")]
public const ushort SVG_MARKER_ORIENT_ANGLE = 2

Field Value

ushort

SVG_MARKER_ORIENT_AUTO

Attribute ‘orient’ has value ‘auto’.

[DOMName("SVG_MARKER_ORIENT_AUTO")]
public const ushort SVG_MARKER_ORIENT_AUTO = 1

Field Value

ushort

SVG_MARKER_ORIENT_UNKNOWN

The marker orientation is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

[DOMName("SVG_MARKER_ORIENT_UNKNOWN")]
public const ushort SVG_MARKER_ORIENT_UNKNOWN = 0

Field Value

ushort

Properties

MarkerHeight

Corresponds to attribute ‘markerHeight’ on the given ‘marker’ element.

[DOMName("markerHeight")]
public SVGAnimatedLength MarkerHeight { get; }

Property Value

SVGAnimatedLength

MarkerUnits

Corresponds to attribute ‘markerUnits’ on the given ‘marker’ element. One of the Marker Unit Types defined on this interface.

[DOMName("markerUnits")]
public SVGAnimatedEnumeration MarkerUnits { get; }

Property Value

SVGAnimatedEnumeration

MarkerWidth

Corresponds to attribute ‘markerWidth’ on the given ‘marker’ element.

[DOMName("markerWidth")]
public SVGAnimatedLength MarkerWidth { get; }

Property Value

SVGAnimatedLength

OrientAngle

Corresponds to attribute ‘orient’ on the given ‘marker’ element. If markerUnits is SVG_MARKER_ORIENT_ANGLE, the angle value for attribute ‘orient’; otherwise, it will be set to zero.

[DOMName("orientAngle")]
public SVGAnimatedAngle OrientAngle { get; }

Property Value

SVGAnimatedAngle

OrientType

Corresponds to attribute ‘orient’ on the given ‘marker’ element. One of the Marker Orientation Types defined on this interface.

[DOMName("orientType")]
public SVGAnimatedEnumeration OrientType { get; }

Property Value

SVGAnimatedEnumeration

PreserveAspectRatio

Corresponds to attribute ‘preserveAspectRatio’ on the given element.

public SVGAnimatedPreserveAspectRatio PreserveAspectRatio { get; }

Property Value

SVGAnimatedPreserveAspectRatio

RefX

Corresponds to attribute ‘refX’ on the given ‘marker’ element.

[DOMName("refX")]
public SVGAnimatedLength RefX { get; }

Property Value

SVGAnimatedLength

RefY

Corresponds to attribute ‘refY’ on the given ‘marker’ element.

[DOMName("refY")]
public SVGAnimatedLength RefY { get; }

Property Value

SVGAnimatedLength

ViewBox

Corresponds to attribute ‘viewBox’ on the given element.

public SVGAnimatedRect ViewBox { get; }

Property Value

SVGAnimatedRect

Methods

SetOrientToAngle(SVGAngle)

Sets the value of attribute ‘orient’ to the given angle.

[DOMName("setOrientToAngle")]
public void SetOrientToAngle(SVGAngle angle)

Parameters

angle SVGAngle

The angle value to use for attribute ‘orient’.

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute.

SetOrientToAuto()

Sets the value of attribute ‘orient’ to ‘auto’.

[DOMName("setOrientToAuto")]
public void SetOrientToAuto()

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute.

See Also

SVGElement, ISVGFitToViewBox