This class represents an ordered list of points in the plane.
Inheritance Hierarchy
YPointPath
Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.algorithms.YPointPath
Constructors
Creates a new path from a list of points.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- l - IList<Object>
- a list of YPoint instances.
Creates a new path from an array of points.
Properties
Gets the first point in the path.
Gets the last point in the path.
Methods
Create a point path with reverse ordering of the points.
Get the points in the path.
Returns a line segment in the path.
Get the points in the path.
Get the points in the path.
Get the points in the list as array.
Get the points in the path as list.
Returns
- ↪IList<any>
- a list of YPoint instances.
Constants
Defines a path with no points.