line start (number), finish (number)
Create a ring buffer representing a straight line between start and finish of steps elements. Steps defaults to 4. Indexes wrap around positively and negatively. Similar to range.
Introduced in v2.5
| steps: |
number of slices or segments along the line |
| inclusive: |
boolean value representing whether or not to include finish value in line |
| # Example 1 | |
|
|
|
| # Example 2 | |
|
|
|
| # Example 3 | |
|
|
|