1
0
Fork 0

adds documentation for point.slope

This commit is contained in:
Zee 2023-04-10 16:15:52 +00:00
parent f639d448a7
commit 9a41520301

View file

@ -0,0 +1,30 @@
---
title: Point.slope()
---
The `Point.slope()` method returns slope of a line made by this Point and that Point.
## Signature
```js
point.slope(a,b)
```
## Example
<Example caption="An example of the Point.slope() method">
```js
({ Point, points, Path, paths, Snippet, snippets, part }) => {
points.A = new Point(5,10)
points.B = new Point(10,20)
point.slope(A,B)
return part
}
```
</Example>