Class SVGGeometryElement

Class SVGGeometryElement

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

Interface SVGGeometryElement represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.

[ComVisible(true)]
[DOMName("SVGGeometryElement")]
[DOMObject]
public class SVGGeometryElement : SVGGraphicsElement, INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver, IParentNode, IElementTraversal, IChildNode, IElementCSSInlineStyle, ISVGTests

Inheritance

objectDOMObjectEventTargetNodeElementSVGElementSVGGraphicsElementSVGGeometryElement

Derived

SVGCircleElement, SVGEllipseElement, SVGLineElement, SVGPathElement, SVGPolygonElement, SVGPolylineElement, SVGRectElement

Implements

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

Inherited Members

SVGGraphicsElement.GetBBox(), SVGGraphicsElement.GetCTM(), SVGGraphicsElement.GetScreenCTM(), SVGGraphicsElement.NearestViewportElement, SVGGraphicsElement.FarthestViewportElement, SVGGraphicsElement.Transform, SVGGraphicsElement.RequiredFeatures, SVGGraphicsElement.RequiredExtensions, SVGGraphicsElement.SystemLanguage, 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()

Properties

PathLength

Corresponds to attribute pathLength on the given element.

[DOMName("pathLength")]
public SVGAnimatedNumber PathLength { get; }

Property Value

SVGAnimatedNumber

Methods

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

GetEquivalentPath()

Returns a new instance instance of the Aspose.Html.Dom.Svg.Paths.SVGPathSegList which represents Aspose.Html.Dom.Svg.SVGGeometryElement as path segments.

public SVGPathSegList GetEquivalentPath()

Returns

SVGPathSegList

A new instance instance of the Aspose.Html.Dom.Svg.Paths.SVGPathSegList.

GetPointAtLength(float)

Returns the (x,y) coordinate in user space which is distance units along the path, utilizing the user agent’s distance-along-a-path algorithm.

[DOMName("getPointAtLength")]
public SVGPoint GetPointAtLength(float distance)

Parameters

distance float

The distance along the path, relative to the start of the path, as a distance in the current user coordinate system.

Returns

SVGPoint

The returned point in user space.

GetTotalLength()

Returns the user agent’s computed value for the total length of the path using the user agent’s distance-along-a-path algorithm, as a distance in the current user coordinate system.

[DOMName("getTotalLength")]
public float GetTotalLength()

Returns

float

The total length of the path.

See Also

SVGGraphicsElement