Class SVGPathElement
Pôvodný názov: Aspose.Html.Dom.Svg Zhromaždenie: Aspose.HTML.dll (25.4.0)
Rozhranie SVGPathElement zodpovedá prvku „cesta“.
[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
Z dedičných členov
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
Poskytuje prístup k aktuálnemu animovanému obsahu atribútu „d“ vo forme, ktorá sa zhoduje jeden po druhom s syntaxom SVG. Ak je daný atribút alebo vlastnosť animovaná, obsahuje aktuálnu animovanú hodnotu atribútu alebo vlastnosti a samotný objekt a jeho obsah sa čítajú iba. Ak daný atribút alebo vlastnosť v súčasnosti nie je animovaná, obsahuje rovnakú hodnotu ako pathSegList.
public SVGPathSegList AnimatedPathSegList { get; }
Hodnota nehnuteľnosti
PathSegList
Poskytuje prístup k základnému (t. j. statickému) obsahu atribútu „d“ vo forme, ktorá sa zhoduje jeden po druhom s syntaxom SVG.Ak teda atribút „d“ má príkaz „absolútny moveto (M)“ a príkaz „absolútny arcto (A), potom pathSegList bude mať dva vstupy: SVG_PATHSEG_MOVETO_ABS a SVG_PATHSEG_ARC_ABS.
public SVGPathSegList PathSegList { get; set; }
Hodnota nehnuteľnosti
Methods
VytvorteSVGPathSegArcAbs(float, float, float, float, float, bool, bool)
Vráti samostatný objekt SVGPathSegArcAbs.
[DOMName("createSVGPathSegArcAbs")]
public SVGPathSegArcAbs CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
r1
float
Rádium x-axis pre ellipsu (t. j. r1).
r2
float
Rádium y-axis pre ellipsu (t. j. r2).
angle
float
Okruh otáčania v stupňoch pre x-axis ellipse v porovnaní s x-axis užívateľského koordinátového systému.
largeArcFlag
bool
Hodnota veľkého vlajkového parametra.
sweepFlag
bool
Hodnota veľkého vlajkového parametra.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegArcAbs.
VytvorteSVGPathSegArcRel(float, float, float, float, float, bool, bool)
Vráti samostatný objekt SVGPathSegArcRel.
[DOMName("createSVGPathSegArcRel")]
public SVGPathSegArcRel CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
r1
float
Rádium x-axis pre ellipsu (t. j. r1).
r2
float
Rádium y-axis pre ellipsu (t. j. r2).
angle
float
Okruh otáčania v stupňoch pre x-axis ellipse v porovnaní s x-axis užívateľského koordinátového systému.
largeArcFlag
bool
Hodnota veľkého vlajkového parametra.
sweepFlag
bool
Hodnota veľkého vlajkového parametra.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegArcRel.
VytvorteSVGPathSegClosePath()
Vráti samostatný objekt SVGPathSegClosePath.
[DOMName("createSVGPathSegClosePath")]
public SVGPathSegClosePath CreateSVGPathSegClosePath()
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegClosePath.
VytvorteSVGPathSegCurvetoCubicAbs(plavba, plavba, plavba, plavba, plavba)
Vráti samostatný objekt SVGPathSegCurvetoCubicAbs.
[DOMName("createSVGPathSegCurvetoCubicAbs")]
public SVGPathSegCurvetoCubicAbs CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
x1
float
Absolútna X koordinát pre prvú kontrolnú bodku.
y1
float
Absolútna koordinácia Y pre prvú kontrolnú bodku.
x2
float
Absolútna X koordinát pre druhú kontrolnú bodku.
y2
float
Absolútna koordinácia Y pre druhú kontrolnú bodku.
Returns
Nezávislý, nenávislý objekt SVGPathSegCurvetoCubicAbs.
VytvorteSVGPathSegCurvetoCubicRel(plavba, plavba, plavba, plavba, plavba)
Vráti samostatný objekt SVGPathSegCurvetoCubicRel.
[DOMName("createSVGPathSegCurvetoCubicRel")]
public SVGPathSegCurvetoCubicRel CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
x1
float
Relatívna koordinácia X pre prvú kontrolnú bodku.
y1
float
Relatívna koordinácia Y pre prvú kontrolnú bodku.
x2
float
Relatívna X koordinát pre druhú kontrolnú bodku.
y2
float
Relatívna koordinácia Y pre druhú kontrolnú bodku.
Returns
Nezávislý, nenávislý SVGPathSegCurvetoCubicRel objekt.
VytvorteSVGPathSegCurvetoCubicSmoothAbs(plavba, plavba, plavba, plavba)
Vráti samostatný, bezstarostný objekt SVGPathSegCurvetoCubicSmoothAbs.
[DOMName("createSVGPathSegCurvetoCubicSmoothAbs")]
public SVGPathSegCurvetoCubicSmoothAbs CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
x2
float
Absolútna X koordinát pre druhú kontrolnú bodku.
y2
float
Absolútna koordinácia Y pre druhú kontrolnú bodku.
Returns
SVGPathSegCurvetoCubicSmoothAbs
Nezávislý, bezstarostný objekt SVGPathSegCurvetoCubicSmoothAbs.
VytvorteSVGPathSegCurvetoCubicSmoothRel(plavba, plavba, plavba, plavba)
Vráti samostatný objekt SVGPathSegCurvetoCubicSmoothRel.
[DOMName("createSVGPathSegCurvetoCubicSmoothRel")]
public SVGPathSegCurvetoCubicSmoothRel CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
x2
float
Relatívna X koordinát pre druhú kontrolnú bodku.
y2
float
Relatívna koordinácia Y pre druhú kontrolnú bodku.
Returns
SVGPathSegCurvetoCubicSmoothRel
Nezávislý, nenávislý SVGPathSegCurvetoCubicSmoothRel objekt.
VytvorteSVGPathSegCurvetoQuadraticAbs(plavba, plavba, plavba, plavba)
Vráti samostatný objekt SVGPathSegCurvetoQuadraticAbs.
[DOMName("createSVGPathSegCurvetoQuadraticAbs")]
public SVGPathSegCurvetoQuadraticAbs CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
x1
float
Absolútna X koordinát pre prvú kontrolnú bodku.
y1
float
Absolútna koordinácia Y pre prvú kontrolnú bodku.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegCurvetoQuadraticAbs.
VytvorteSVGPathSegCurvetoQuadraticRel(plavba, plavba, plavba, plavba)
Vráti samostatný objekt SVGPathSegCurvetoQuadraticRel.
[DOMName("createSVGPathSegCurvetoQuadraticRel")]
public SVGPathSegCurvetoQuadraticRel CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
x1
float
Relatívna koordinácia X pre prvú kontrolnú bodku.
y1
float
Relatívna koordinácia Y pre prvú kontrolnú bodku.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegCurvetoQuadraticRel.
VytvorteSVGPathSegCurvetoQuadraticSmoothAbs(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegCurvetoQuadraticSmoothAbs.
[DOMName("createSVGPathSegCurvetoQuadraticSmoothAbs")]
public SVGPathSegCurvetoQuadraticSmoothAbs CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
Returns
SVGPathSegCurvetoQuadraticSmoothAbs
Jednotlivý, nezamestnaný objekt SVGPathSegCurvetoQuadraticSmoothAbs.
VytvorteSVGPathSegCurvetoQuadraticSmoothRel(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegCurvetoQuadraticSmoothRel.
[DOMName("createSVGPathSegCurvetoQuadraticSmoothRel")]
public SVGPathSegCurvetoQuadraticSmoothRel CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
Returns
SVGPathSegCurvetoQuadraticSmoothRel
Jednotlivý, nezamestnaný objekt SVGPathSegCurvetoQuadraticSmoothRel.
VytvorteSVGPathSegLinetoAbs(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegLinetoAbs.
[DOMName("createSVGPathSegLinetoAbs")]
public SVGPathSegLinetoAbs CreateSVGPathSegLinetoAbs(float x, float y)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
Returns
Nezávislý, nenávislý objekt SVGPathSegLinetoAbs.
VytvorteSVGPathSegLinetoHorizontálneAbs(flotila)
Vráti samostatný, bezdomovec SVGPathSegLinetoHorizontalAbs objekt.
[DOMName("createSVGPathSegLinetoHorizontalAbs")]
public SVGPathSegLinetoHorizontalAbs CreateSVGPathSegLinetoHorizontalAbs(float x)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegLinetoHorizontalAbs.
VytvorteSVGPathSegLinetoHorizontálneRel(flotila)
Vráti samostatný, bezdomovec SVGPathSegLinetoHorizontalRel objekt.
[DOMName("createSVGPathSegLinetoHorizontalRel")]
public SVGPathSegLinetoHorizontalRel CreateSVGPathSegLinetoHorizontalRel(float x)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegLinetoHorizontalRel.
VytvorteSVGPathSegLinetoRel(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegLinetoRel bez rodičov.
[DOMName("createSVGPathSegLinetoRel")]
public SVGPathSegLinetoRel CreateSVGPathSegLinetoRel(float x, float y)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
Returns
Nezávislý, nenávislý objekt SVGPathSegLinetoRel.
VytvorteSVGPathSegLinetoVerticalAbs(flotila)
Vráti samostatný objekt SVGPathSegLinetoVerticalAbs.
[DOMName("createSVGPathSegLinetoVerticalAbs")]
public SVGPathSegLinetoVerticalAbs CreateSVGPathSegLinetoVerticalAbs(float y)
Parameters
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegLinetoVerticalAbs.
VytvorteSVGPathSegLinetoVerticalRel(flotila)
Vráti samostatný objekt SVGPathSegLinetoVerticalRel.
[DOMName("createSVGPathSegLinetoVerticalRel")]
public SVGPathSegLinetoVerticalRel CreateSVGPathSegLinetoVerticalRel(float y)
Parameters
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
Returns
Jednotlivý, nezamestnaný objekt SVGPathSegLinetoVerticalRel.
VytvorteSVGPathSegMovetoAbs(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegMovetoAbs.
[DOMName("createSVGPathSegMovetoAbs")]
public SVGPathSegMovetoAbs CreateSVGPathSegMovetoAbs(float x, float y)
Parameters
x
float
Absolútna X koordinát pre koniec tohto segmentu trasy.
y
float
Absolútna Y koordinuje koniec tohto segmentu trasy.
Returns
Nezávislý, nenávislý objekt SVGPathSegMovetoAbs.
VytvorteSVGPathSegMovetoRel(Pláž, Pláž)
Vráti samostatný objekt SVGPathSegMovetoRel.
[DOMName("createSVGPathSegMovetoRel")]
public SVGPathSegMovetoRel CreateSVGPathSegMovetoRel(float x, float y)
Parameters
x
float
Relatívna X koordinát pre koniec tohto segmentu trasy.
y
float
Relatívna koordinácia Y pre koniec tohto segmentu trasy.
Returns
Nezávislý, nenávislý objekt SVGPathSegMovetoRel.