Class SVGPathElement

Class SVGPathElement

Nome do espaço: Aspose.Html.Dom.Svg Assembleia: Aspose.HTML.dll (25.4.0)

A interface SVGPathElement corresponde ao elemento “caminho”.

[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

Membros herdados

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

Fornece acesso aos conteúdos animados atuais do atributo ’d’ em uma forma que se encaixa um por um com a sintaxe do SVG. Se o atributo ou propriedade dado for animado, contém o valor animado atual do atributo ou propriedade, e tanto o objeto como os seus conteúdos são lidos apenas. Se o atributo ou propriedade dado não for atualmente animado, contém o mesmo valor como o pathSegList.

public SVGPathSegList AnimatedPathSegList { get; }

Valor da propriedade

SVGPathSegList

PathSegList

Fornece acesso ao conteúdo básico (ou seja, estático) do atributo ’d’ em uma forma que se encaixa um por um com a síntese do SVG.Assim, se o atributo ’d’ tem um comando “absoluto moveto (M)” e um comando “absoluto arcto (A”, então o pathSegList terá duas entradas: um SVG_PATHSEG_MOVETO_ABS e um SVG_PATHSEG_ARC_ABS.

public SVGPathSegList PathSegList { get; set; }

Valor da propriedade

SVGPathSegList

Methods

CriaçãoSegArcAbs(Flata, Flata, Flata, Flata, Flata, Flata, Flata, Flata)

Retorna um objeto independente, sem parentesco SVGPathSegArcAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

r1 float

O raio x-axis para a elípcia (ou seja, r1).

r2 float

O raio y-axis para a elípcia (ou seja, r2).

angle float

O ângulo de rotação em graus para o x-axis do ellipse relativamente ao x-axis do sistema de coordenação do usuário.

largeArcFlag bool

O valor do parâmetro de bandeira de grande arco.

sweepFlag bool

O valor do parâmetro de bandeira de grande arco.

Returns

SVGPathSegArcAbs

Um objeto independente, sem parentesco SVGPathSegArcAbs.

CriaçãoSegArcRel(Flata, Flata, Flata, Flata, Flata, Flata, Flata, Flata)

Retorna um objeto independente, sem parentesco SVGPathSegArcRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

r1 float

O raio x-axis para a elípcia (ou seja, r1).

r2 float

O raio y-axis para a elípcia (ou seja, r2).

angle float

O ângulo de rotação em graus para o x-axis do ellipse relativamente ao x-axis do sistema de coordenação do usuário.

largeArcFlag bool

O valor do parâmetro de bandeira de grande arco.

sweepFlag bool

O valor do parâmetro de bandeira de grande arco.

Returns

SVGPathSegArcRel

Um objeto independente, sem parentesco SVGPathSegArcRel.

CriaçãoSegClosePath()

Retorna um objeto independente, sem parentesco SVGPathSegClosePath.

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

Returns

SVGPathSegClosePath

Um objeto independente, sem parentesco SVGPathSegClosePath.

CriaçãoSegCurvetoCubicAbs(Flóia, Flóia, Flóia, Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoCubicAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

x1 float

O coordenado X absoluto para o primeiro ponto de controle.

y1 float

A coordenação Y absoluta para o primeiro ponto de controle.

x2 float

O coordenado X absoluto para o segundo ponto de controle.

y2 float

A coordenação Y absoluta para o segundo ponto de controle.

Returns

SVGPathSegCurvetoCubicAbs

Um objeto independente, sem parentesco SVGPathSegCurvetoCubicAbs.

CriaçãoSegCurvetoCubicRel(Flóia, Flóia, Flóia, Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoCubicRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

x1 float

A coordenada relativa X para o primeiro ponto de controle.

y1 float

O relativo Y coordena para o primeiro ponto de controle.

x2 float

A coordenada X relativa para o segundo ponto de controle.

y2 float

O relativo Y coordena para o segundo ponto de controle.

Returns

SVGPathSegCurvetoCubicRel

Um objeto independente, sem parentesco SVGPathSegCurvetoCubicRel.

CriarSVGPathSegCurvetoCubicSmoothAbs(Flóia, Flóia, Flóia e Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoCubicSmoothAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

x2 float

O coordenado X absoluto para o segundo ponto de controle.

y2 float

A coordenação Y absoluta para o segundo ponto de controle.

Returns

SVGPathSegCurvetoCubicSmoothAbs

Um objeto independente, sem parentesco SVGPathSegCurvetoCubicSmoothAbs.

CriaçãoSegCurvetoCubicSmoothRel(Flóia, Flóia, Flóia e Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoCubicSmoothRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

x2 float

A coordenada X relativa para o segundo ponto de controle.

y2 float

O relativo Y coordena para o segundo ponto de controle.

Returns

SVGPathSegCurvetoCubicSmoothRel

Um objeto independente, sem parentesco SVGPathSegCurvetoCubicSmoothRel.

CriaçãoSegCurvetoQuadraticAbs(Flóia, Flóia, Flóia e Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

x1 float

O coordenado X absoluto para o primeiro ponto de controle.

y1 float

A coordenação Y absoluta para o primeiro ponto de controle.

Returns

SVGPathSegCurvetoQuadraticAbs

Um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticAbs.

CriaçãoSegCurvetoQuadraticRel(Flóia, Flóia, Flóia e Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

x1 float

A coordenada relativa X para o primeiro ponto de controle.

y1 float

O relativo Y coordena para o primeiro ponto de controle.

Returns

SVGPathSegCurvetoQuadraticRel

Um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticRel.

CriaçãoSvGPathSegCurvetoQuadraticSmoothAbs(Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticSmoothAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegCurvetoQuadraticSmoothAbs

Um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticSmoothAbs.

CriaçãoSvGPathSegCurvetoQuadraticSmoothRel(Flóia, Flóia)

Retorna um objeto independente, sem parentes SVGPathSegCurvetoQuadraticSmoothRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegCurvetoQuadraticSmoothRel

Um objeto independente, sem parentesco SVGPathSegCurvetoQuadraticSmoothRel.

CriaçãoSegLinetoAbs(Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegLinetoAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoAbs

Um objeto independente, sem parentesco SVGPathSegLinetoAbs.

CriaçãoSegLinetoHorizontalAbs(Flotação)

Retorna um objeto independente, sem parentesco SVGPathSegLinetoHorizontalAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoHorizontalAbs

Um objeto isolado, sem parentesco SVGPathSegLinetoHorizontalAbs.

CriaçãoHorizontalRel(Flotação)

Retorna um objeto independente, sem parentesco SVGPathSegLinetoHorizontalRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoHorizontalRel

Um objeto independente, sem parentesco SVGPathSegLinetoHorizontalRel.

CriaçãoSegLinetoRel(Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegLinetoRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoRel

Um objeto independente, sem parentesco SVGPathSegLinetoRel.

CriaçãoSegLinetoVerticalAbs(Flotação)

Retorna um objeto independente, sem parentesco SVGPathSegLinetoVerticalAbs.

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

Parameters

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoVerticalAbs

Um objeto independente, sem parentesco SVGPathSegLinetoVerticalAbs.

CriaçãoSegLinetoVerticalRel(Flotação)

Retorna um objeto independente, sem parentes SVGPathSegLinetoVerticalRel.

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

Parameters

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegLinetoVerticalRel

Um objeto independente, sem parentesco SVGPathSegLinetoVerticalRel.

CriaçãoSegMovetoAbs(Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegMovetoAbs.

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

Parameters

x float

O absoluto X coordena para o ponto final deste segmento de caminho.

y float

O absoluto Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegMovetoAbs

Um objeto independente, sem parentesco SVGPathSegMovetoAbs.

CriaçãoSegMovetoRel(Flóia, Flóia)

Retorna um objeto independente, sem parentesco SVGPathSegMovetoRel.

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

Parameters

x float

O relativo X coordena para o ponto final deste segmento de caminho.

y float

O relativo Y coordena para o ponto final deste segmento de caminho.

Returns

SVGPathSegMovetoRel

Um objeto independente, sem parentesco SVGPathSegMovetoRel.

Veja também

SVGGeometryElement , ISVGAnimatedPathData

 Português