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. Ако даден афилт или свойство се аниматира, той съдържа текущата анимна стойност на свойството или имуществото, а както самия обект, така и неговите съдържания се четат само.
public SVGPathSegList AnimatedPathSegList { get; }
стойност на имота
PathSegList
d“ в форма, която е съвпадна с синтеза на SVG.d" има “абсолютно moveto (M)” и “абсолютно arcto (A)” команда, тогава pathSegList ще има два входа: SVG_PATHSEG_MOVETO_ABS и SVG_PATHSEG_ARC_ABS.
public SVGPathSegList PathSegList { get; set; }
стойност на имота
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-аксис радиус за елипса (т.е. r2).
angle
float
x-аксиса на елипса в сравнение с x.
largeArcFlag
bool
Стойността на параметъра на знамето на големия арк.
sweepFlag
bool
Стойността на параметъра на знамето на големия арк.
Returns
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-аксис радиус за елипса (т.е. r2).
angle
float
x-аксиса на елипса в сравнение с x.
largeArcFlag
bool
Стойността на параметъра на знамето на големия арк.
sweepFlag
bool
Стойността на параметъра на знамето на големия арк.
Returns
SVGPathSegArcRel.
СъздаванеSVGPathSegClosePath()
SVGPathSegClosePath.
[DOMName("createSVGPathSegClosePath")]
public SVGPathSegClosePath CreateSVGPathSegClosePath()
Returns
SVGPathSegClosePath.
СъздаванеSVGPathSegCurvetoCubicАбс(плава, плава, плава, плава, плава, плава)
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.
Създаване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.
Създаване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.
СъздаванеSVGPathSegCurvetoQuadraticАбс(плавател, плавател, плавател)
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.
Създаване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.
Създаване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.
СъздаванеSVGPathSegLinetoHorizontalАбс(Флота)
SVGPathSegLinetoHorizontalAbs.
[DOMName("createSVGPathSegLinetoHorizontalAbs")]
public SVGPathSegLinetoHorizontalAbs CreateSVGPathSegLinetoHorizontalAbs(float x)
Parameters
x
float
Абсолютният X координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegLinetoHorizontalAbs.
СъздаванеSVGPathSegLinetoHorizontalRel(Флота)
SVGPathSegLinetoHorizontalRel.
[DOMName("createSVGPathSegLinetoHorizontalRel")]
public SVGPathSegLinetoHorizontalRel CreateSVGPathSegLinetoHorizontalRel(float x)
Parameters
x
float
Относното X координати за крайната точка на този път сегмент.
Returns
SVGPathSegLinetoHorizontalRel.
СъздаванеSVGPathSegLinetoRel(Плавател, плавател)
SVGPathSegLinetoRel.
[DOMName("createSVGPathSegLinetoRel")]
public SVGPathSegLinetoRel CreateSVGPathSegLinetoRel(float x, float y)
Parameters
x
float
Относното X координати за крайната точка на този път сегмент.
y
float
Относното Y координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegLinetoRel.
СъздаванеSVGPathSegLinetoVerticalAbs(Флота)
SVGPathSegLinetoVerticalAbs.
[DOMName("createSVGPathSegLinetoVerticalAbs")]
public SVGPathSegLinetoVerticalAbs CreateSVGPathSegLinetoVerticalAbs(float y)
Parameters
y
float
Абсолютният Y координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegLinetoVerticalAbs.
СъздаванеSVGPathSegLinetoVerticalRel(Флота)
SVGPathSegLinetoVerticalRel.
[DOMName("createSVGPathSegLinetoVerticalRel")]
public SVGPathSegLinetoVerticalRel CreateSVGPathSegLinetoVerticalRel(float y)
Parameters
y
float
Относното Y координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegLinetoVerticalRel.
СъздаванеSVGPathSegMovetoAbs(Плавател, плавател)
SVGPathSegMovetoAbs.
[DOMName("createSVGPathSegMovetoAbs")]
public SVGPathSegMovetoAbs CreateSVGPathSegMovetoAbs(float x, float y)
Parameters
x
float
Абсолютният X координира крайната точка на този сегмент на пътя.
y
float
Абсолютният Y координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegMovetoAbs.
СъздаванеSVGPathSegMovetoRel(Плавател, плавател)
SVGPathSegMovetoRel.
[DOMName("createSVGPathSegMovetoRel")]
public SVGPathSegMovetoRel CreateSVGPathSegMovetoRel(float x, float y)
Parameters
x
float
Относното X координати за крайната точка на този път сегмент.
y
float
Относното Y координира крайната точка на този сегмент на пътя.
Returns
SVGPathSegMovetoRel.