Class SVGPathElement
Numele spaţiului: Aspose.Html.Dom.Svg Asamblare: Aspose.HTML.dll (25.4.0)
Interfața SVGPathElement corespunde elementului „calea”.
[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
Membrii moștenitori
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
Furnizează acces la conținutul animat curent al atributului „d” într-o formă care se potrivește una la alta cu sintaza SVG. Dacă atributul sau proprietatea respectivă este animată, conține valoarea animată curentă a atributului sau proprietății, iar atât obiectul în sine, cât și conținutul său sunt citite numai.
public SVGPathSegList AnimatedPathSegList { get; }
Valoarea proprietății
PathSegList
Oferă acces la conținutul de bază (adică static) al atributului „d” într-o formă care se potrivește una după alta cu sinteza SVG.Astfel, dacă atributul „d” are un comanda „absolut moveto (M)" și un comanda „absolut arcto (A), atunci pathSegList va avea două intrări: un SVG_PATHSEG_MOVETO_ABS și un SVG_PATHSEG_ARC_ABS.
public SVGPathSegList PathSegList { get; set; }
Valoarea proprietății
Methods
CreațiSVGPathSegArcAbs(float, float, float, float, float, bool, bool)
Întoarce un obiect independent, fără parinte SVGPathSegArcAbs.
[DOMName("createSVGPathSegArcAbs")]
public SVGPathSegArcAbs CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
r1
float
Radiul x-axis pentru elipsă (adică r1).
r2
float
Radiul y-axis pentru elipsă (adică r2).
angle
float
Angolul de rotație în grade pentru x-axisul ellipsei în raport cu x-axisul sistemului de coordonare al utilizatorului.
largeArcFlag
bool
Valoarea parametrului mare-arc-flag.
sweepFlag
bool
Valoarea parametrului mare-arc-flag.
Returns
Un obiect independent, fără părinte SVGPathSegArcAbs.
CreațiSVGPathSegArcRel(float, float, float, float, float, bool, bool)
Returnează un obiect SVGPathSegArcRel independent, fără părinte.
[DOMName("createSVGPathSegArcRel")]
public SVGPathSegArcRel CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
r1
float
Radiul x-axis pentru elipsă (adică r1).
r2
float
Radiul y-axis pentru elipsă (adică r2).
angle
float
Angolul de rotație în grade pentru x-axisul ellipsei în raport cu x-axisul sistemului de coordonare al utilizatorului.
largeArcFlag
bool
Valoarea parametrului mare-arc-flag.
sweepFlag
bool
Valoarea parametrului mare-arc-flag.
Returns
Un obiect independent, fără părinte SVGPathSegArcRel.
CreațiSVGPathSegClosePath()
Întoarce un obiect independent, fără parinte SVGPathSegClosePath.
[DOMName("createSVGPathSegClosePath")]
public SVGPathSegClosePath CreateSVGPathSegClosePath()
Returns
Un obiect independent, fără părinte SVGPathSegClosePath.
CreateSVGPathSegCurvetoCubicAbs(float, float, float, float, float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoCubicAbs.
[DOMName("createSVGPathSegCurvetoCubicAbs")]
public SVGPathSegCurvetoCubicAbs CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
x1
float
Coordonatul X absolut pentru primul punct de control.
y1
float
Coordonatul Y absolut pentru primul punct de control.
x2
float
Coordonatul X absolut pentru al doilea punct de control.
y2
float
Coordonatul Y absolut pentru a doua punctă de control.
Returns
Un obiect independent, fără părinte SVGPathSegCurvetoCubicAbs.
CreateSVGPathSegCurvetoCubicRel(float, float, float, float, float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoCubicRel.
[DOMName("createSVGPathSegCurvetoCubicRel")]
public SVGPathSegCurvetoCubicRel CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
x1
float
Coordonatul X relativ pentru primul punct de control.
y1
float
Coordonatul relativ Y pentru primul punct de control.
x2
float
Coordonatul X pentru cel de-al doilea punct de control.
y2
float
Coordonatul relativ Y pentru cel de al doilea punct de control.
Returns
Un obiect independent, fără părinte SVGPathSegCurvetoCubicRel.
CreateSVGPathSegCurvetoCubicSmoothAbs(float, float, float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoCubicSmoothAbs.
[DOMName("createSVGPathSegCurvetoCubicSmoothAbs")]
public SVGPathSegCurvetoCubicSmoothAbs CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
x2
float
Coordonatul X absolut pentru al doilea punct de control.
y2
float
Coordonatul Y absolut pentru a doua punctă de control.
Returns
SVGPathSegCurvetoCubicSmoothAbs
Un obiect independent, fără părinte SVGPathSegCurvetoCubicSmoothAbs.
CreateSVGPathSegCurvetoCubicSmoothRel(float, float, float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoCubicSmoothRel.
[DOMName("createSVGPathSegCurvetoCubicSmoothRel")]
public SVGPathSegCurvetoCubicSmoothRel CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
x2
float
Coordonatul X pentru cel de-al doilea punct de control.
y2
float
Coordonatul relativ Y pentru cel de al doilea punct de control.
Returns
SVGPathSegCurvetoCubicSmoothRel
Un obiect independent, fără părinte SVGPathSegCurvetoCubicSmoothRel.
CreateSVGPathSegCurvetoQuadraticAbs(float, float, float, float)
Întoarce un obiect independent, fără parinte SVGPathSegCurvetoQuadraticAbs.
[DOMName("createSVGPathSegCurvetoQuadraticAbs")]
public SVGPathSegCurvetoQuadraticAbs CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
x1
float
Coordonatul X absolut pentru primul punct de control.
y1
float
Coordonatul Y absolut pentru primul punct de control.
Returns
Un obiect independent, fără părinte SVGPathSegCurvetoQuadraticAbs.
CreateSVGPathSegCurvetoQuadraticRel(float, float, float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoQuadraticRel.
[DOMName("createSVGPathSegCurvetoQuadraticRel")]
public SVGPathSegCurvetoQuadraticRel CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
x1
float
Coordonatul X relativ pentru primul punct de control.
y1
float
Coordonatul relativ Y pentru primul punct de control.
Returns
Un obiect independent, fără părinte SVGPathSegCurvetoQuadraticRel.
CreateSVGPathSegCurvetoQuadraticSmoothAbs(în float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoQuadraticSmoothAbs.
[DOMName("createSVGPathSegCurvetoQuadraticSmoothAbs")]
public SVGPathSegCurvetoQuadraticSmoothAbs CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
Returns
SVGPathSegCurvetoQuadraticSmoothAbs
Un obiect independent, fără părinte SVGPathSegCurvetoQuadraticSmoothAbs.
CreateSVGPathSegCurvetoQuadraticSmoothRel(în float, float)
Întoarce un obiect independent, fără părinte SVGPathSegCurvetoQuadraticSmoothRel.
[DOMName("createSVGPathSegCurvetoQuadraticSmoothRel")]
public SVGPathSegCurvetoQuadraticSmoothRel CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
Returns
SVGPathSegCurvetoQuadraticSmoothRel
Un obiect independent, fără părinte SVGPathSegCurvetoQuadraticSmoothRel.
CreateSVGPathSegLinetoAbs(în float, float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoAbs.
[DOMName("createSVGPathSegLinetoAbs")]
public SVGPathSegLinetoAbs CreateSVGPathSegLinetoAbs(float x, float y)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoAbs.
CreateSVGPathSegLinetoHorizontalAbs(float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoHorizontalAbs.
[DOMName("createSVGPathSegLinetoHorizontalAbs")]
public SVGPathSegLinetoHorizontalAbs CreateSVGPathSegLinetoHorizontalAbs(float x)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoHorizontalAbs.
CreateSVGPathSegLinetoHorizontalRel(float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoHorizontalRel.
[DOMName("createSVGPathSegLinetoHorizontalRel")]
public SVGPathSegLinetoHorizontalRel CreateSVGPathSegLinetoHorizontalRel(float x)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoHorizontalRel.
CreațiSVGPathSegLinetoRel(în float, float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoRel.
[DOMName("createSVGPathSegLinetoRel")]
public SVGPathSegLinetoRel CreateSVGPathSegLinetoRel(float x, float y)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoRel.
CreateSVGPathSegLinetoVerticalAbs(float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoVerticalAbs.
[DOMName("createSVGPathSegLinetoVerticalAbs")]
public SVGPathSegLinetoVerticalAbs CreateSVGPathSegLinetoVerticalAbs(float y)
Parameters
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoVerticalAbs.
CreateSVGPathSegLinetoVerticalRel(float)
Întoarce un obiect independent, fără părinte SVGPathSegLinetoVerticalRel.
[DOMName("createSVGPathSegLinetoVerticalRel")]
public SVGPathSegLinetoVerticalRel CreateSVGPathSegLinetoVerticalRel(float y)
Parameters
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegLinetoVerticalRel.
CreateSVGPathSegMovetoAbs(în float, float)
Întoarce un obiect independent, fără parinte SVGPathSegMovetoAbs.
[DOMName("createSVGPathSegMovetoAbs")]
public SVGPathSegMovetoAbs CreateSVGPathSegMovetoAbs(float x, float y)
Parameters
x
float
Coordonatul X absolut pentru punctul final al acestui segment de drum.
y
float
Coordonatul Y absolut pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegMovetoAbs.
CreațiSVGPathSegMovetoRel(în float, float)
Întoarce un obiect independent, fără parinte SVGPathSegMovetoRel.
[DOMName("createSVGPathSegMovetoRel")]
public SVGPathSegMovetoRel CreateSVGPathSegMovetoRel(float x, float y)
Parameters
x
float
Coordonatul X relativ pentru punctul final al acestui segment de drum.
y
float
Coordonarea Y relativă pentru punctul final al acestui segment de drum.
Returns
Un obiect independent, fără părinte SVGPathSegMovetoRel.