Class SVGPathElement

Class SVGPathElement

名称: Aspose.Html.Dom.Svg 编辑: Aspose.HTML.dll (25.4.0)

SVGPathElement 接口符合“路”元素。

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

Inheritance

object DOMObject EventTarget Node Element SVGElement SVGGraphicsElement SVGGeometryElement SVGPathElement

Implements

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

继承人

SVGGeometryElement.GetEquivalentPath() , SVGGeometryElement.GetTotalLength() , SVGGeometryElement.GetPointAtLength(float) , SVGGeometryElement.Dispose(bool) , SVGGeometryElement.PathLength , 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

AnimatedPathSegList

提供对“d”属性的当前动画内容的访问,以与 SVG 的合成相匹配的形式;如果该属性或属性被动画,则包含该属性或属性的当前动画值,并且对象本身和其内容仅被阅读;如果该属性或属性目前不被动画,则包含 pathSegList 相同的值。

public SVGPathSegList AnimatedPathSegList { get; }

财产价值

SVGPathSegList

PathSegList

提供对“d”属性的基本(即静态)内容的访问,以一种与SVG的合成相匹配的形式。因此,如果“d”属性有一个“绝对 moveto(M)”和一个“绝对 arcto(A)”命令,那么 pathSegList 将有两个输入:一个 SVG_PATHSEG_MOVETO_ABS 和一个 SVG_PATHSEG_ARC_ABS。

public SVGPathSegList PathSegList { get; set; }

财产价值

SVGPathSegList

Methods

创建SVGPathSegArcAbs(海洋,海洋,海洋,海洋,海洋,海洋,海洋)

返回一个独立、无家可归的 SVGPathSegArcAbs 对象。

[DOMName("createSVGPathSegArcAbs")]
public SVGPathSegArcAbs CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

r1 float

以 x 轴为射线(即 r1)。

r2 float

以 y-axis 射线为 ellipse (即 r2) 。

angle float

旋转角度为 ellipse 的 x 轴,与用户协调系统的 x 轴相比。

largeArcFlag bool

大弓旗参数的值。

sweepFlag bool

大弓旗参数的值。

Returns

SVGPathSegArcAbs

一个独立、无家可归的 SVGPathSegArcAbs 对象。

创建SVGPathSegArcRel(海洋,海洋,海洋,海洋,海洋,海洋,海洋)

返回一个独立、无家可归的 SVGPathSegArcRel 对象。

[DOMName("createSVGPathSegArcRel")]
public SVGPathSegArcRel CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

r1 float

以 x 轴为射线(即 r1)。

r2 float

以 y-axis 射线为 ellipse (即 r2) 。

angle float

旋转角度为 ellipse 的 x 轴,与用户协调系统的 x 轴相比。

largeArcFlag bool

大弓旗参数的值。

sweepFlag bool

大弓旗参数的值。

Returns

SVGPathSegArcRel

一个独立、无家可归的 SVGPathSegArcRel 对象。

创建SVGPathSegClosePath()

返回一个独立、无家可归的 SVGPathSegClosePath 对象。

[DOMName("createSVGPathSegClosePath")]
public SVGPathSegClosePath CreateSVGPathSegClosePath()

Returns

SVGPathSegClosePath

一个独立的,无家可归的 SVGPathSegClosePath 对象。

创建SVGPathSegCurvetoCubicAbs(航海、航海、航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoCubicAbs 对象。

[DOMName("createSVGPathSegCurvetoCubicAbs")]
public SVGPathSegCurvetoCubicAbs CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

x1 float

绝对X协调为第一个控制点。

y1 float

绝对 Y 协调为第一点控制。

x2 float

对第二个控制点的绝对X坐标。

y2 float

绝对 Y 协调为第二个控制点。

Returns

SVGPathSegCurvetoCubicAbs

一个独立,无家可归的 SVGPathSegCurvetoCubicAbs 对象。

创建SVGPathSegCurvetoCubicRel(航海、航海、航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoCubicRel 对象。

[DOMName("createSVGPathSegCurvetoCubicRel")]
public SVGPathSegCurvetoCubicRel CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

x1 float

相对 X 坐标为第一个控制点。

y1 float

相对 Y 协调为第一个控制点。

x2 float

相对 X 坐标为第二个控制点。

y2 float

相对 Y 协调为第二个控制点。

Returns

SVGPathSegCurvetoCubicRel

一个独立,无家可归的 SVGPathSegCurvetoCubicRel 对象。

创建SVGPathSegCurvetoCubicSmoothAbs(航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoCubicSmoothAbs 对象。

[DOMName("createSVGPathSegCurvetoCubicSmoothAbs")]
public SVGPathSegCurvetoCubicSmoothAbs CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

x2 float

对第二个控制点的绝对X坐标。

y2 float

绝对 Y 协调为第二个控制点。

Returns

SVGPathSegCurvetoCubicSmoothAbs

一个独立,无家可归的 SVGPathSegCurvetoCubicSmoothAbs 对象。

创建SVGPathSegCurvetoCubicSmoothRel(航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoCubicSmoothRel 对象。

[DOMName("createSVGPathSegCurvetoCubicSmoothRel")]
public SVGPathSegCurvetoCubicSmoothRel CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

x2 float

相对 X 坐标为第二个控制点。

y2 float

相对 Y 协调为第二个控制点。

Returns

SVGPathSegCurvetoCubicSmoothRel

一个独立的,无家可归的 SVGPathSegCurvetoCubicSmoothRel 对象。

创建SVGPathSegCurvetoQuadraticAbs(航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoQuadraticAbs 对象。

[DOMName("createSVGPathSegCurvetoQuadraticAbs")]
public SVGPathSegCurvetoQuadraticAbs CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

x1 float

绝对X协调为第一个控制点。

y1 float

绝对 Y 协调为第一点控制。

Returns

SVGPathSegCurvetoQuadraticAbs

一个独立的,无家可归的 SVGPathSegCurvetoQuadraticAbs 对象。

创建SVGPathSegCurvetoQuadraticRel(航海、航海、航海、航海)

返回一个独立、无家可归的 SVGPathSegCurvetoQuadraticRel 对象。

[DOMName("createSVGPathSegCurvetoQuadraticRel")]
public SVGPathSegCurvetoQuadraticRel CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

x1 float

相对 X 坐标为第一个控制点。

y1 float

相对 Y 协调为第一个控制点。

Returns

SVGPathSegCurvetoQuadraticRel

一个独立、无家可归的 SVGPathSegCurvetoQuadraticRel 对象。

创建SVGPathSegCurvetoQuadraticSmoothAbs(航海,航海)

返回一个独立、无家可归的 SVGPathSegCurvetoQuadraticSmoothAbs 对象。

[DOMName("createSVGPathSegCurvetoQuadraticSmoothAbs")]
public SVGPathSegCurvetoQuadraticSmoothAbs CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

Returns

SVGPathSegCurvetoQuadraticSmoothAbs

一个独立的,无家可归的 SVGPathSegCurvetoQuadraticSmoothAbs 对象。

创建SVGPathSegCurvetoQuadraticSmoothRel(航海,航海)

返回一个独立、无家可归的 SVGPathSegCurvetoQuadraticSmoothRel 对象。

[DOMName("createSVGPathSegCurvetoQuadraticSmoothRel")]
public SVGPathSegCurvetoQuadraticSmoothRel CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

Returns

SVGPathSegCurvetoQuadraticSmoothRel

一个独立的,无家可归的 SVGPathSegCurvetoQuadraticSmoothRel 对象。

创建SVGPathSegLinetoAbs(航海,航海)

返回一个独立、无家可归的 SVGPathSegLinetoAbs 对象。

[DOMName("createSVGPathSegLinetoAbs")]
public SVGPathSegLinetoAbs CreateSVGPathSegLinetoAbs(float x, float y)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

Returns

SVGPathSegLinetoAbs

一个独立的,无家可归的 SVGPathSegLinetoAbs 对象。

创建SVGPathSegLinetoHorizontalAbs(航海)

返回一个独立、无家可归的 SVGPathSegLinetoHorizontalAbs 对象。

[DOMName("createSVGPathSegLinetoHorizontalAbs")]
public SVGPathSegLinetoHorizontalAbs CreateSVGPathSegLinetoHorizontalAbs(float x)

Parameters

x float

绝对X坐标为这个路径部分的终点。

Returns

SVGPathSegLinetoHorizontalAbs

一个独立、无家可归的 SVGPathSegLinetoHorizontalAbs 对象。

创建VGPathSegLinetoHorizontalRel(航海)

返回一个独立、无家可归的 SVGPathSegLinetoHorizontalRel 对象。

[DOMName("createSVGPathSegLinetoHorizontalRel")]
public SVGPathSegLinetoHorizontalRel CreateSVGPathSegLinetoHorizontalRel(float x)

Parameters

x float

相对X坐标为这个路径部分的终点。

Returns

SVGPathSegLinetoHorizontalRel

一个独立的,无家可归的 SVGPathSegLinetoHorizontalRel 对象。

创建SVGPathSegLinetoRel(航海,航海)

返回一个独立、无家可归的 SVGPathSegLinetoRel 对象。

[DOMName("createSVGPathSegLinetoRel")]
public SVGPathSegLinetoRel CreateSVGPathSegLinetoRel(float x, float y)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

Returns

SVGPathSegLinetoRel

一个独立、无家可归的 SVGPathSegLinetoRel 对象。

创建SVGPathSegLinetoVerticalAbs(航海)

返回一个独立、无家可归的 SVGPathSegLinetoVerticalAbs 对象。

[DOMName("createSVGPathSegLinetoVerticalAbs")]
public SVGPathSegLinetoVerticalAbs CreateSVGPathSegLinetoVerticalAbs(float y)

Parameters

y float

绝对的Y协调到这个路径部分的终点。

Returns

SVGPathSegLinetoVerticalAbs

一个独立、无家可归的 SVGPathSegLinetoVerticalAbs 对象。

创建SVGPathSegLinetoVerticalRel(航海)

返回一个独立、无家可归的 SVGPathSegLinetoVerticalRel 对象。

[DOMName("createSVGPathSegLinetoVerticalRel")]
public SVGPathSegLinetoVerticalRel CreateSVGPathSegLinetoVerticalRel(float y)

Parameters

y float

相对 Y 协调到这个路径部分的终点。

Returns

SVGPathSegLinetoVerticalRel

一个独立的,无家可归的 SVGPathSegLinetoVerticalRel 对象。

创建SVGPathSegMovetoAbs(航海,航海)

返回一个独立、无家可归的 SVGPathSegMovetoAbs 对象。

[DOMName("createSVGPathSegMovetoAbs")]
public SVGPathSegMovetoAbs CreateSVGPathSegMovetoAbs(float x, float y)

Parameters

x float

绝对X坐标为这个路径部分的终点。

y float

绝对的Y协调到这个路径部分的终点。

Returns

SVGPathSegMovetoAbs

一个独立、无家可归的 SVGPathSegMovetoAbs 对象。

创建VGPathSegMovetoRel(航海,航海)

返回一个独立、无家可归的 SVGPathSegMovetoRel 对象。

[DOMName("createSVGPathSegMovetoRel")]
public SVGPathSegMovetoRel CreateSVGPathSegMovetoRel(float x, float y)

Parameters

x float

相对X坐标为这个路径部分的终点。

y float

相对 Y 协调到这个路径部分的终点。

Returns

SVGPathSegMovetoRel

一个独立、无家可归的 SVGPathSegMovetoRel 对象。

看也

SVGGeometryElement , ISVGAnimatedPathData

 中文