Class SVGPathElement

Class SVGPathElement

ชื่อพื้นที่: Aspose.Html.Dom.Svg การประกอบ: Aspose.HTML.dll (25.4.0)

อินเทอร์เฟซ SVGPathElement ตรงกับองค์ประกอบ ‘ทาง’

[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

อนุญาโตตุลาการ

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

ให้การเข้าถึงเนื้อหาที่เคลื่อนไหวปัจจุบันของคุณสมบัติ ’d’ ในรูปแบบที่ตรงกันข้ามกับ syntax ของ SVG หากคุณสมบัติหรือคุณสมบัติที่ระบุจะเคลื่อนไหวมีค่าเคลื่อนไหวปัจจุบันของคุณสมบัติหรือคุณสมบัติและทั้งวัตถุตัวเองและเนื้อหาของมันจะอ่านเท่านั้น หากคุณสมบัติหรือคุณสมบัติที่ระบุไม่ได้เคลื่อนไหวในขณะนี้มีค่าเดียวกันกับ pathSegList

public SVGPathSegList AnimatedPathSegList { get; }

คุณสมบัติมูลค่า

SVGPathSegList

PathSegList

ให้การเข้าถึงเนื้อหาพื้นฐาน (เช่น static) ของคุณสมบัติ ’d’ ในรูปแบบที่ตรงกันข้ามกับ syntax ของ SVGดังนั้นถ้าคุณสมบัติ ’d’ มีคําสั่ง “สมบูรณ์ moveto (M)” และคําสั่ง “สมบูรณ์ arcto (A)” แล้ว pathSegList จะมีสองรายการ: SVG_PATHSEG_MOVETO_ABS และ SVG_PATHSEG_ARC_ABS

public SVGPathSegList PathSegList { get; set; }

คุณสมบัติมูลค่า

SVGPathSegList

Methods

สร้างSVGPathSegArcAbs(พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว)

กลับวัตถุ SVGPathSegArcAbs แบบอิสระ

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

r1 float

เส้นผ่านศูนย์กลาง x-axis สําหรับ ellipse (เช่น r1)

r2 float

เส้นผ่านศูนย์กลาง y-axis สําหรับ ellipse (เช่น r2)

angle float

มุมหมุนในระดับสําหรับ x-axis ของ ellipse relative to the x-axis of the user coordinate system

largeArcFlag bool

ค่าของพารามิเตอร์กระดาษขนาดใหญ่

sweepFlag bool

ค่าของพารามิเตอร์กระดาษขนาดใหญ่

Returns

SVGPathSegArcAbs

วัตถุ SVGPathSegArcAbs แบบอิสระ

สร้างSVGPathSegArcRel(พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว พื้นผิว)

กลับวัตถุ SVGPathSegArcRel แบบอิสระ

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

r1 float

เส้นผ่านศูนย์กลาง x-axis สําหรับ ellipse (เช่น r1)

r2 float

เส้นผ่านศูนย์กลาง y-axis สําหรับ ellipse (เช่น r2)

angle float

มุมหมุนในระดับสําหรับ x-axis ของ ellipse relative to the x-axis of the user coordinate system

largeArcFlag bool

ค่าของพารามิเตอร์กระดาษขนาดใหญ่

sweepFlag bool

ค่าของพารามิเตอร์กระดาษขนาดใหญ่

Returns

SVGPathSegArcRel

วัตถุ SVGPathSegArcRel ฟรี

สร้างSVGPathSegClosePath()

กลับวัตถุ SVGPathSegClosePath แบบอิสระและไม่เป็นเจ้าของ

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

Returns

SVGPathSegClosePath

วัตถุ SVGPathSegClosePath แบบอิสระ

สร้างSVGPathSegCurvetoCubicAbs(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลายเป็นวัตถุ SVGPathSegCurvetoCubic

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

x1 float

หลักสูตร X อย่างแน่นอนสําหรับจุดควบคุมครั้งแรก

y1 float

หลักสูตร Y ที่สมบูรณ์สําหรับจุดควบคุมครั้งแรก

x2 float

หลักสูตร X อย่างแน่นอนสําหรับจุดควบคุมที่สอง

y2 float

หลักสูตร Y ที่แน่นอนสําหรับจุดควบคุมที่สอง

Returns

SVGPathSegCurvetoCubicAbs

วัตถุสแตนเลสสแตนเลสสแตนเลสสแตนเลส

สร้างSVGPathSegCurvetoCubicRel(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegCurvetoCubicRel แบบอิสระ

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

x1 float

คะแนน X คะแนนสําหรับจุดควบคุมครั้งแรก

y1 float

ความสัมพันธ์ Y การจัดระเบียบสําหรับจุดการควบคุมครั้งแรก

x2 float

คะแนน X คะแนนสําหรับจุดควบคุมที่สอง

y2 float

คะแนน Y คะแนนสําหรับจุดควบคุมที่สอง

Returns

SVGPathSegCurvetoCubicRel

วัตถุ SVGPathSegCurvetoCubicRel

สร้างSVGPathSegCurvetoCubicSmoothAbs(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegCurvetoCubicSmoothAbs

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

x2 float

หลักสูตร X อย่างแน่นอนสําหรับจุดควบคุมที่สอง

y2 float

หลักสูตร Y ที่แน่นอนสําหรับจุดควบคุมที่สอง

Returns

SVGPathSegCurvetoCubicSmoothAbs

สแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลส

สร้างSVGPathSegCurvetoCubicSmoothRel(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลายเป็นวัตถุ SVGPathSegCurvetoCubicSmoothRel

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

x2 float

คะแนน X คะแนนสําหรับจุดควบคุมที่สอง

y2 float

คะแนน Y คะแนนสําหรับจุดควบคุมที่สอง

Returns

SVGPathSegCurvetoCubicSmoothRel

วัตถุ SVGPathSegCurvetoCubicSmoothRel

สร้างSVGPathSegCurvetoQuadraticAbs(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลับเป็นวัตถุ SVGPathSegCurvetoQuadraticAbs

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

x1 float

หลักสูตร X อย่างแน่นอนสําหรับจุดควบคุมครั้งแรก

y1 float

หลักสูตร Y ที่สมบูรณ์สําหรับจุดควบคุมครั้งแรก

Returns

SVGPathSegCurvetoQuadraticAbs

วัตถุ SVGPathSegCurvetoQuadraticAbs

สร้างSVGPathSegCurvetoQuadraticRel(เฟอร์รี่, เฟอร์รี่, เฟอร์รี่)

กลายเป็นวัตถุ SVGPathSegCurvetoQuadratic

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

x1 float

คะแนน X คะแนนสําหรับจุดควบคุมครั้งแรก

y1 float

ความสัมพันธ์ Y การจัดระเบียบสําหรับจุดการควบคุมครั้งแรก

Returns

SVGPathSegCurvetoQuadraticRel

วัตถุ SVGPathSegCurvetoQuadraticRel

สร้างSVGPathSegCurvetoQuadraticSmoothAbs(เฟอร์รี่, เฟอร์รี่)

กลายเป็นวัตถุ SVGPathSegCurvetoQuadraticSmoothAbs

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegCurvetoQuadraticSmoothAbs

สแตนเลส, สแตนเลส SVGPathSegCurvetoQuadraticSmoothAbs วัตถุ

สร้างSVGPathSegCurvetoQuadraticSmoothRel(เฟอร์รี่, เฟอร์รี่)

กลายเป็นวัตถุ SVGPathSegCurvetoQuadraticSmoothRel

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegCurvetoQuadraticSmoothRel

วัตถุ SVGPathSegCurvetoQuadraticSmoothRel

สร้างSVGPathSegLinetoAbs(เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegLinetoAbs แบบอิสระ

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoAbs

วัตถุ SVGPathSegLinetoAbs ฟรี

สร้างSVGPathSegLinetoHorizontalAbs(เฟอร์รี่)

กลับวัตถุ SVGPathSegLinetoHorizontalAbs

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoHorizontalAbs

สแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลส

สร้างSVGPathSegLinetoHorizontalRel(เฟอร์รี่)

กลับวัตถุ SVGPathSegLinetoHorizontalRel

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoHorizontalRel

สแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลสสแตนเลส

สร้างSVGPathSegLinetoRel(เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegLinetoRel แบบอิสระ

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoRel

วัตถุ SVGPathSegLinetoRel ฟรี

สร้างSVGPathSegLinetoVerticalAbs(เฟอร์รี่)

กลับวัตถุของ SVGPathSegLinetoVerticalAbs

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

Parameters

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoVerticalAbs

วัตถุ SVGPathSegLinetoVerticalAbs

สร้างSVGPathSegLinetoVerticalRel(เฟอร์รี่)

กลับวัตถุ SVGPathSegLinetoVerticalRel แบบอิสระ

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

Parameters

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegLinetoVerticalRel

วัตถุ SVGPathSegLinetoVerticalRel

สร้างSVGPathSegMovetoAbs(เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegMovetoAbs แบบอิสระ

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

Parameters

x float

หลักสูตรที่สมบูรณ์ X สําหรับจุดสิ้นสุดของเส้นทางนี้

y float

หลักฐาน Y ที่สมบูรณ์คือจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegMovetoAbs

วัตถุ SVGPathSegMovetoAbs แบบอิสระ

สร้างSVGPathSegMovetoRel(เฟอร์รี่, เฟอร์รี่)

กลับวัตถุ SVGPathSegMovetoRel แบบอิสระ

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

Parameters

x float

คะแนน X คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

y float

คะแนน Y คะแนนสําหรับจุดสิ้นสุดของเส้นทางนี้

Returns

SVGPathSegMovetoRel

วัตถุ SVGPathSegMovetoRel ฟรี

ดูเพิ่มเติม

SVGGeometryElement , ISVGAnimatedPathData

 แบบไทย