chore(markdown): Restructuring dev docs
This commit is contained in:
parent
9ef46c502a
commit
d42d9a9377
114 changed files with 246 additions and 1462 deletions
21
markdown/dev/reference/api/macros/grainline/en.md
Normal file
21
markdown/dev/reference/api/macros/grainline/en.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: grainline
|
||||
---
|
||||
|
||||
The `grainline` macro adds a *grainline* indicator to your pattern.
|
||||
It is provided by the [grainline plugin](/reference/plugins/grainline/).
|
||||
|
||||
<Example part="plugin_grainline" caption="Example of the grainline indicator added by this macro" />
|
||||
|
||||
```js
|
||||
macro("grainline", {
|
||||
from: points.grainlineFrom,
|
||||
to: points.grainlineTo,
|
||||
}
|
||||
```
|
||||
|
||||
| Property | Default | Type | Description |
|
||||
|------------:|---------|---------------------|-------------|
|
||||
| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator |
|
||||
| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator |
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue