Represents a point on the path of an LayoutEdge, which can either correspond to a bend on the edge or to one of the two ports (source or target) of the edge.
Remarks
An edge path consists of multiple points, represented by EdgePathPoint instances. These points define the edge's geometry, either as bends along the path or as port positions. The collection of all path points can be accessed via the pathPoints property.
This class cannot be instantiated
Type Details
- yFiles module
- algorithms
See Also
Properties
Gets the index of this path point within the edge's path.
Remarks
Property Value
Gets the position of the path point.
Property Value
Gets the LayoutEdge to which this path point belongs.
Property Value
Gets or sets the x-coordinate of the path point.
Remarks
Property Value
Gets or sets the y-coordinate of the path point.
Remarks
Property Value
Methods
Determines whether the specified object is equal to the current EdgePathPoint.
Parameters
A map of options to pass to the method.
- obj - any
- The object to compare with the current instance.
Returns
- ↪boolean
true
if the specified object is equal to the current instance, otherwise,false
.
Returns a hash code for this object.
Remarks
The hash code is a numeric value that can be used to treat this object as a key in a hash table or similar data structure.
Two objects that are considered equal must have the same hash code. However, the reverse does not hold and two objects having the same hash code don't have to be equal. Ideally, the hash code should be roughly uniformly-distributed to prevent hash tables from performing poorly. Calculating the hash code is also a potentially frequent operation and should therefore be fast.
Returns
- ↪number
- the hash code for this object