From a0475bdc1215ec1ddef05753b0da208cb5fd0f1d Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 26 Apr 2023 13:13:33 +0200 Subject: [PATCH] add note about [getStrokes](https://github.com/xournalpp/xournalpp/pull/4359) --- docs/guide/plugins/plugins.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/guide/plugins/plugins.md b/docs/guide/plugins/plugins.md index 9815305..11d9ec7 100644 --- a/docs/guide/plugins/plugins.md +++ b/docs/guide/plugins/plugins.md @@ -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