Class SVGPathElement

Class SVGPathElement

Il nome: Aspose.Html.Dom.Svg Assemblaggio: Aspose.HTML.dll (25.4.0)

L’interfaccia SVGPathElement corrisponde all’elemento “path”.

[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

I membri ereditari

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

Fornisce l’accesso ai contenuti animati correnti dell’attributo ’d’ in una forma che corrisponde uno per uno alla sintasi di SVG. Se il dato attributo o proprietà è animato, contiene il valore animato corrente dell’attributo o proprietà, e sia l’oggetto stesso che i suoi contenuti sono letti solo. Se il dato attributo o proprietà non è attualmente animato, contiene lo stesso valore di pathSegList.

public SVGPathSegList AnimatedPathSegList { get; }

Valore di proprietà

SVGPathSegList

PathSegList

Fornisce accesso al contenuto di base (cioè statico) dell’attributo ‘d’ in una forma che corrisponde uno per uno alla sintasi di SVG.Così, se l’attribuzione ’d’ ha un comando “absoluto moveto (M)” e un comando “absoluto arcto (A”, allora pathSegList avrà due entrate: un SVG_PATHSEG_MOVETO_ABS e un SVG_PATHSEG_ARC_ABS.

public SVGPathSegList PathSegList { get; set; }

Valore di proprietà

SVGPathSegList

Methods

CreateSVGPathSegArcAbs(flotta, flotta, flotta, flotta, flotta, bool, bool)

Ritorna un oggetto SVGPathSegArcAbs indipendente e non parentale.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

r1 float

Il raggio x-axis per l’ellipso (cioè r1).

r2 float

Il raggio y-axis per l’ellipso (cioè r2).

angle float

L’angolo di rotazione in gradi per l’axis x dell’ellipse relativamente all’axis x del sistema di coordinamento utente.

largeArcFlag bool

Il valore del big-arc-flagge parametri.

sweepFlag bool

Il valore del big-arc-flagge parametri.

Returns

SVGPathSegArcAbs

Un oggetto SVGPathSegArcAbs indipendente e non parentale.

CreazioneSvGPathSegArcRel(flotta, flotta, flotta, flotta, flotta, bool, bool)

Ritorna un oggetto SVGPathSegArcRel indipendente e non parentale.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

r1 float

Il raggio x-axis per l’ellipso (cioè r1).

r2 float

Il raggio y-axis per l’ellipso (cioè r2).

angle float

L’angolo di rotazione in gradi per l’axis x dell’ellipse relativamente all’axis x del sistema di coordinamento utente.

largeArcFlag bool

Il valore del big-arc-flagge parametri.

sweepFlag bool

Il valore del big-arc-flagge parametri.

Returns

SVGPathSegArcRel

Un oggetto SVGPathSegArcRel indipendente e non parentale.

CreateSVGPathSegClosePath()

Ritorna un oggetto SVGPathSegClosePath indipendente e non parentale.

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

Returns

SVGPathSegClosePath

Un oggetto indipendente, indipendente SVGPathSegClosePath.

CreateSVGPathSegCurvetoCubicAbs(flotta, flotta, flotta, flotta, flotta)

Ritorna un oggetto SVGPathSegCurvetoCubicAbs indipendente e non parentale.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

x1 float

Il coordinato X assoluto per il primo punto di controllo.

y1 float

Il coordinato assoluto Y per il primo punto di controllo.

x2 float

Il coordinato X assoluto per il secondo punto di controllo.

y2 float

Il coordinato assoluto Y per il secondo punto di controllo.

Returns

SVGPathSegCurvetoCubicAbs

Un oggetto indipendente, parentale SVGPathSegCurvetoCubicAbs.

CreateSVGPathSegCurvetoCubicRel(flotta, flotta, flotta, flotta, flotta)

Ritorna un oggetto SVGPathSegCurvetoCubicRel indipendente e non parentale.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

x1 float

Il coordinato X relativo per il primo punto di controllo.

y1 float

Il relativo Y coordina per il primo punto di controllo.

x2 float

La relativa coordinata X per il secondo punto di controllo.

y2 float

Il relativo Y coordina per il secondo punto di controllo.

Returns

SVGPathSegCurvetoCubicRel

Un oggetto indipendente, indipendente SVGPathSegCurvetoCubicRel.

CreateSVGPathSegCurvetoCubicSmoothAbs(La flotta, la flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoCubicSmoothAbs.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

x2 float

Il coordinato X assoluto per il secondo punto di controllo.

y2 float

Il coordinato assoluto Y per il secondo punto di controllo.

Returns

SVGPathSegCurvetoCubicSmoothAbs

Un oggetto indipendente, parentale SVGPathSegCurvetoCubicSmoothAbs.

CreateSVGPathSegCurvetoCubicSmoothRel(La flotta, la flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoCubicSmoothRel indipendente.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

x2 float

La relativa coordinata X per il secondo punto di controllo.

y2 float

Il relativo Y coordina per il secondo punto di controllo.

Returns

SVGPathSegCurvetoCubicSmoothRel

Un oggetto indipendente, parentale SVGPathSegCurvetoCubicSmoothRel.

CreateSVGPathSegCurvetoQuadraticAbs(La flotta, la flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoQuadraticAbs indipendente e non parentale.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

x1 float

Il coordinato X assoluto per il primo punto di controllo.

y1 float

Il coordinato assoluto Y per il primo punto di controllo.

Returns

SVGPathSegCurvetoQuadraticAbs

Un oggetto indipendente, parentale SVGPathSegCurvetoQuadraticAbs.

CreateSVGPathSegCurvetoQuadraticRel(La flotta, la flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoQuadraticRel indipendente.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

x1 float

Il coordinato X relativo per il primo punto di controllo.

y1 float

Il relativo Y coordina per il primo punto di controllo.

Returns

SVGPathSegCurvetoQuadraticRel

Un oggetto indipendente, indipendente SVGPathSegCurvetoQuadraticRel.

CreateSVGPathSegCurvetoQuadraticSmoothAbs(La flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoQuadraticSmoothAbs.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegCurvetoQuadraticSmoothAbs

Un oggetto indipendente, indipendente SVGPathSegCurvetoQuadraticSmoothAbs.

CreateSVGPathSegCurvetoQuadraticSmoothRel(La flotta, la flotta)

Ritorna un oggetto SVGPathSegCurvetoQuadraticSmoothRel indipendente.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegCurvetoQuadraticSmoothRel

Un oggetto indipendente, indipendente SVGPathSegCurvetoQuadraticSmoothRel.

CreateSVGPathSegLinetoAbs(La flotta, la flotta)

Ritorna un oggetto SVGPathSegLinetoAbs indipendente e non parentale.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegLinetoAbs

Un oggetto indipendente, indipendente SVGPathSegLinetoAbs.

CreateSVGPathSegLinetoHorizontalAbs(flotta)

Ritorna un oggetto indipendente, indipendente SVGPathSegLinetoHorizontalAbs.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

Returns

SVGPathSegLinetoHorizontalAbs

Un oggetto indipendente, indipendente SVGPathSegLinetoHorizontalAbs.

CreateSVGPathSegLinetoHorizontalRel(flotta)

Ritorna un oggetto indipendente, indipendente SVGPathSegLinetoHorizontalRel.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

Returns

SVGPathSegLinetoHorizontalRel

Un oggetto indipendente, indipendente SVGPathSegLinetoHorizontalRel.

CreateSVGPathSegLinetoRel(La flotta, la flotta)

Ritorna un oggetto SVGPathSegLinetoRel indipendente e non parentale.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegLinetoRel

Un oggetto indipendente e non parentale SVGPathSegLinetoRel.

CreateSVGPathSegLinetoVerticalAbs(flotta)

Ritorna un oggetto SVGPathSegLinetoVerticalAbs indipendente e non parentale.

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

Parameters

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegLinetoVerticalAbs

Un oggetto indipendente, parentale SVGPathSegLinetoVerticalAbs.

CreateSVGPathSegLinetoVerticalRel(flotta)

Ritorna un oggetto SVGPathSegLinetoVerticalRel indipendente e non parentale.

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

Parameters

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegLinetoVerticalRel

Un oggetto indipendente, senza parenti SVGPathSegLinetoVerticalRel.

CreateSVGPathSegMovetoAbs(La flotta, la flotta)

Ritorna un oggetto SVGPathSegMovetoAbs indipendente e non parentale.

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

Parameters

x float

Il coordinato X assoluto per il punto di fine di questo segmento di percorso.

y float

L’assoluto Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegMovetoAbs

Un oggetto indipendente, parentale SVGPathSegMovetoAbs.

CreateSVGPathSegMovetoRel(La flotta, la flotta)

Ritorna un oggetto SVGPathSegMovetoRel indipendente e non parentale.

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

Parameters

x float

La relativa X coordinata per il punto di fine di questo segmento di percorso.

y float

Il relativo Y coordina per il punto finale di questo segmento di percorso.

Returns

SVGPathSegMovetoRel

Un oggetto SVGPathSegMovetoRel indipendente e non parentale.

Vedi anche

SVGGeometryElement , ISVGAnimatedPathData

 Italiano