Skip to content

Commit

Permalink
add note about [getStrokes](xournalpp/xournalpp#4359)
Browse files Browse the repository at this point in the history
  • Loading branch information
atticus-sullivan authored and rolandlo committed Apr 26, 2023
1 parent 30c5c5a commit a0475bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guide/plugins/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ Currently the list contains the following functions:
- `app.getDisplayDpi` returns the configured display DPI
- `app.export` exports the current document in pdf, svg or png format
**(only available in [nightly release][nightly-release] as of v1.1.3)**
- `app.getStrokes` returns a list of strokes on the current layer / the current
selection
**(only available in [nightly release][nightly-release] as of v1.1.3)**
- `app.addStrokes` draws strokes on the canvas given a set of coordinates
**(only available in [nightly release][nightly-release] as of v1.1.3)**
- `app.addSplines` draws strokes on the canvas given a set of splines. The function rasterizes it, then uses the resulting series of coordinates to place the stroke on the canvas
Expand Down

0 comments on commit a0475bd

Please sign in to comment.