Class SVGPathElement

Class SVGPathElement

Nombre del espacio: Aspose.Html.Dom.Svg Colección: Aspose.HTML.dll (25.4.0)

La interfaz SVGPathElement corresponde al elemento ‘caminos’.

[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 ,y, IEventTarget ,y, IDisposable ,y, IXPathNSResolver ,y, IParentNode ,y, IElementTraversal ,y, IChildNode ,y, IElementCSSInlineStyle ,y, ISVGTests ,y, ISVGAnimatedPathData

Miembros heredados

SVGGeometryElement.GetEquivalentPath() ,y, SVGGeometryElement.GetTotalLength() ,y, SVGGeometryElement.GetPointAtLength(float) ,y, SVGGeometryElement.Dispose(bool) ,y, SVGGeometryElement.PathLength ,y, SVGGraphicsElement.GetBBox() ,y, SVGGraphicsElement.GetCTM() ,y, SVGGraphicsElement.GetScreenCTM() ,y, SVGGraphicsElement.NearestViewportElement ,y, SVGGraphicsElement.FarthestViewportElement ,y, SVGGraphicsElement.Transform ,y, SVGGraphicsElement.RequiredFeatures ,y, SVGGraphicsElement.RequiredExtensions ,y, SVGGraphicsElement.SystemLanguage ,y, SVGElement.Id ,y, SVGElement.OwnerSVGElement ,y, SVGElement.ViewportElement ,y, SVGElement.ClassName ,y, SVGElement.Style ,y, Element.GetAttributeNames() ,y, Element.HasAttributes() ,y, Element.GetAttribute(string) ,y, Element.GetAttributeNS(string, string) ,y, Element.SetAttribute(string, string) ,y, Element.SetAttributeNS(string, string, string) ,y, Element.RemoveAttribute(string) ,y, Element.RemoveAttributeNS(string, string) ,y, Element.HasAttribute(string) ,y, Element.HasAttributeNS(string, string) ,y, Element.ToggleAttribute(string) ,y, Element.ToggleAttribute(string, bool) ,y, Element.GetAttributeNode(string) ,y, Element.SetAttributeNode(Attr) ,y, Element.RemoveAttributeNode(Attr) ,y, Element.GetAttributeNodeNS(string, string) ,y, Element.SetAttributeNodeNS(Attr) ,y, Element.GetElementsByTagName(string) ,y, Element.GetElementsByTagNameNS(string, string) ,y, Element.Remove() ,y, Element.QuerySelectorAll(string) ,y, Element.QuerySelector(string) ,y, Element.AttachShadow(ShadowRootMode) ,y, Element.GetElementsByClassName(string) ,y, Element.Dispose(bool) ,y, Element.ClassList ,y, Element.LocalName ,y, Element.NamespaceURI ,y, Element.Prefix ,y, Element.NodeName ,y, Element.NodeType ,y, Element.TagName ,y, Element.Id ,y, Element.ClassName ,y, Element.TextContent ,y, Element.Attributes ,y, Element.FirstElementChild ,y, Element.LastElementChild ,y, Element.PreviousElementSibling ,y, Element.NextElementSibling ,y, Element.ChildElementCount ,y, Element.Children ,y, Element.InnerHTML ,y, Element.OuterHTML ,y, Element.ShadowRoot ,y, Node.ELEMENT_NODE ,y, Node.ATTRIBUTE_NODE ,y, Node.TEXT_NODE ,y, Node.CDATA_SECTION_NODE ,y, Node.ENTITY_REFERENCE_NODE ,y, Node.ENTITY_NODE ,y, Node.PROCESSING_INSTRUCTION_NODE ,y, Node.COMMENT_NODE ,y, Node.DOCUMENT_NODE ,y, Node.DOCUMENT_TYPE_NODE ,y, Node.DOCUMENT_FRAGMENT_NODE ,y, Node.NOTATION_NODE ,y, Node.HasChildNodes() ,y, Node.Normalize() ,y, Node.CloneNode() ,y, Node.CloneNode(bool) ,y, Node.IsEqualNode(Node) ,y, Node.IsSameNode(Node) ,y, Node.LookupPrefix(string) ,y, Node.LookupNamespaceURI(string) ,y, Node.IsDefaultNamespace(string) ,y, Node.InsertBefore(Node, Node) ,y, Node.ReplaceChild(Node, Node) ,y, Node.RemoveChild(Node) ,y, Node.AppendChild(Node) ,y, Node.Dispose(bool) ,y, Node.ToString() ,y, Node.NodeType ,y, Node.LocalName ,y, Node.NamespaceURI ,y, Node.Prefix ,y, Node.NodeName ,y, Node.BaseURI ,y, Node.OwnerDocument ,y, Node.ParentNode ,y, Node.ParentElement ,y, Node.ChildNodes ,y, Node.FirstChild ,y, Node.LastChild ,y, Node.PreviousSibling ,y, Node.NextSibling ,y, Node.NodeValue ,y, Node.TextContent ,y, EventTarget.AddEventListener(string, DOMEventHandler, bool) ,y, EventTarget.AddEventListener(string, IEventListener) ,y, EventTarget.AddEventListener(string, IEventListener, bool) ,y, EventTarget.RemoveEventListener(string, DOMEventHandler, bool) ,y, EventTarget.RemoveEventListener(string, IEventListener) ,y, EventTarget.RemoveEventListener(string, IEventListener, bool) ,y, EventTarget.DispatchEvent(Event) ,y, EventTarget.Dispose() ,y, EventTarget.Dispose(bool) ,y, DOMObject.GetPlatformType() ,y, object.GetType() ,y, object.MemberwiseClone() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()

Properties

AnimatedPathSegList

Proporciona acceso a los contenidos animados actuales del ’d’ atributo en una forma que coincide uno por uno con la sintaxe de SVG. Si el atributo o la propiedad se anima, contiene el valor animado actual del attribute o propiedade, y tanto el objeto mismo como su contenido se leen únicamente.

public SVGPathSegList AnimatedPathSegList { get; }

Valor de la propiedad

SVGPathSegList

PathSegList

Proporciona acceso al contenido básico (es decir, estático) del atributo ‘d’ en una forma que se ajusta uno a uno con la síntesis de SVG.Por lo tanto, si el atributo ‘d’ tiene un comando “absoluto moveto (M)” y un “absoluuto arcto (A)” entonces pathSegList tendrá dos entradas: un SVG_PATHSEG_MOVETO_ABS y uno svg_pathseg_arc_abs.

public SVGPathSegList PathSegList { get; set; }

Valor de la propiedad

SVGPathSegList

Methods

CreaciónSegArcAbs(La flota, el float, la floata, lote, bool, buol)

Devolve un objeto independiente, sin parentesco SVGPathSegArcAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

r1 float

El rayo x-axis para el elipse (es decir, r1).

r2 float

El radio y-axis para el ellipse (es decir, r2).

angle float

El ángulo de rotación en grados para el x-axis del ellipse en relación con el X-axe del sistema de coordenadas del usuario.

largeArcFlag bool

El valor del parámetro de la bandera de gran arco.

sweepFlag bool

El valor del parámetro de la bandera de gran arco.

Returns

SVGPathSegArcAbs

Un objeto independiente, sin parentesco SVGPathSegArcAbs.

CreaciónSegArcRel(La flota, el float, la floata, lote, bool, buol)

Devolve un objeto independiente, sin parentesco SVGPathSegArcRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

r1 float

El rayo x-axis para el elipse (es decir, r1).

r2 float

El radio y-axis para el ellipse (es decir, r2).

angle float

El ángulo de rotación en grados para el x-axis del ellipse en relación con el X-axe del sistema de coordenadas del usuario.

largeArcFlag bool

El valor del parámetro de la bandera de gran arco.

sweepFlag bool

El valor del parámetro de la bandera de gran arco.

Returns

SVGPathSegArcRel

Un objeto independiente, sin parentesco SVGPathSegArcRel.

CreaciónSegClosePath()

Devolve un objeto independiente, sin parentesco SVGPathSegClosePath.

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

Returns

SVGPathSegClosePath

Un objeto independiente, sin parentesco SVGPathSegClosePath.

CreaciónSegCurvetoCubicAbs(float, float, float, float, float, float)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoCubicAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

x1 float

El coordenado absoluto X para el primer punto de control.

y1 float

El absoluto Y coordina para el primer punto de control.

x2 float

El coordenado absoluto X para el segundo punto de control.

y2 float

El absoluto Y coordina para el segundo punto de control.

Returns

SVGPathSegCurvetoCubicAbs

Un objeto independiente, sin parentesco SVGPathSegCurvetoCubicAbs.

CreaciónSegCurvetoCubicRel(float, float, float, float, float, float)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoCubicRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

x1 float

La coordenada relativa X para el primer punto de control.

y1 float

El relativo Y coordina para el primer punto de control.

x2 float

La coordenada relativa X para el segundo punto de control.

y2 float

El relativo Y coordina para el segundo punto de control.

Returns

SVGPathSegCurvetoCubicRel

Un objeto independiente, sin parentesco SVGPathSegCurvetoCubicRel.

CreaciónSegCurvetoCubicSmoothAbs(La flota, la flota, la flota)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoCubicSmoothAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

x2 float

El coordenado absoluto X para el segundo punto de control.

y2 float

El absoluto Y coordina para el segundo punto de control.

Returns

SVGPathSegCurvetoCubicSmoothAbs

Un objeto independiente, sin parentesco SVGPathSegCurvetoCubicSmoothAbs.

CreaciónSegCurvetoCubicSmoothRel(La flota, la flota, la flota)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoCubicSmoothRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

x2 float

La coordenada relativa X para el segundo punto de control.

y2 float

El relativo Y coordina para el segundo punto de control.

Returns

SVGPathSegCurvetoCubicSmoothRel

Un objeto independiente, sin parentesco SVGPathSegCurvetoCubicSmoothRel.

CreaciónSegCurvetoQuadraticAbs(La flota, la flota, la flota)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

x1 float

El coordenado absoluto X para el primer punto de control.

y1 float

El absoluto Y coordina para el primer punto de control.

Returns

SVGPathSegCurvetoQuadraticAbs

Un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticAbs.

CreaSegCurvetoQuadraticRel(La flota, la flota, la flota)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

x1 float

La coordenada relativa X para el primer punto de control.

y1 float

El relativo Y coordina para el primer punto de control.

Returns

SVGPathSegCurvetoQuadraticRel

Un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticRel.

CreaSVGPathSegCurvetoQuadraticSmoothAbs(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticSmoothAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

Returns

SVGPathSegCurvetoQuadraticSmoothAbs

Un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticSmoothAbs.

CreaciónSegCurvetoQuadraticSmoothRel(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticSmoothRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

Returns

SVGPathSegCurvetoQuadraticSmoothRel

Un objeto independiente, sin parentesco SVGPathSegCurvetoQuadraticSmoothRel.

CreaciónSegLinetoAbs(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

Returns

SVGPathSegLinetoAbs

Un objeto independiente, sin parentesco SVGPathSegLinetoAbs.

CreaciónHorizontalAbs(float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoHorizontalAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

Returns

SVGPathSegLinetoHorizontalAbs

Un objeto independiente, sin parentesco SVGPathSegLinetoHorizontalAbs.

CreaciónHorizontalRel(float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoHorizontalRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

Returns

SVGPathSegLinetoHorizontalRel

Un objeto independiente, sin parentesco SVGPathSegLinetoHorizontalRel.

CreaciónSegLinetoRel(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

Returns

SVGPathSegLinetoRel

Un objeto independiente, sin parentesco SVGPathSegLinetoRel.

CreaciónSegLinetoVerticalAbs(float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoVerticalAbs.

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

Parameters

y float

El absoluto Y coordina para el punto final de este segmento de camino.

Returns

SVGPathSegLinetoVerticalAbs

Un objeto independiente, sin parentesco SVGPathSegLinetoVerticalAbs.

CreaciónSegLinetoVerticalRel(float)

Devolve un objeto independiente, sin parentesco SVGPathSegLinetoVerticalRel.

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

Parameters

y float

El relativo Y coordina para el punto final de este segmento de ruta.

Returns

SVGPathSegLinetoVerticalRel

Un objeto independiente, sin parentesco SVGPathSegLinetoVerticalRel.

CreaciónSegMovetoAbs(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegMovetoAbs.

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

Parameters

x float

El absoluto X coordina para el punto final de este segmento de camino.

y float

El absoluto Y coordina para el punto final de este segmento de camino.

Returns

SVGPathSegMovetoAbs

Un objeto independiente, sin parentesco SVGPathSegMovetoAbs.

CreaciónSegMovetoRel(Float y Float)

Devolve un objeto independiente, sin parentesco SVGPathSegMovetoRel.

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

Parameters

x float

El relativo X coordina para el punto final de este segmento de ruta.

y float

El relativo Y coordina para el punto final de este segmento de ruta.

Returns

SVGPathSegMovetoRel

Un objeto independiente, sin parentesco SVGPathSegMovetoRel.

Ver también

SVGGeometryElement ,y, ISVGAnimatedPathData

 Español