LinkShape::EdgePoints Property

 

The ordered list of points bounding the straight segments of the link shape, including two points at each jumps.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
	(CoreDesignSurfaceDomainModel^::typeid), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
	(CoreDesignSurfaceDomainModel^::typeid), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
property EdgePointCollection^ EdgePoints {
	EdgePointCollection^ get();
	void set(EdgePointCollection^ value);
}

A link consists of a series of straight line segments. A link that is displayed as a single straight line has two edge points, at the start and end of the line. A link that has one vertex or corner will have an additional edge point between the start and end.

Where the link crosses another link, it may display a jump, which is a small semicircle. The list of edge points will include two additional points for the two sides of the jump. If you want to obtain a list of edge points that omits jumps, use EdgePointsNoJumps.

May be invalid if IsRouted is false.

Return to top
Show: