Quick Shape Library for inserting predefined shapes into a Xournal++ document via this plugin along with Extract Stroke Info for creating new shapes.
-
Place the folder (
ShapeLibrary) in:C:\Users\<user>\AppData\Local\xournalpp\plugins\on Windows Note: TheAppDatafolder may be hidden.~/.config/xournalpp/pluginson Linux or MacOS
-
Place the icons (
shapes_symbolic.svgandextract-info-symbolic.svg) in:C:\Users\<user>\AppData\Local\share\icons\hicolor\scalable\actionson Windows,~/.local/share/icons/hicolor/scalable/actions/on Linux or MacOS
-
In the Xournal++ app: Open menu
Edit > Toolbars > Customize. You will find the copied icons in thePluginssection. Place them at a suitable location in the toolbar. -
Use the plugin as needed
-
Draw your own shape in Xournal++ and place it at the top left corner of the page. Note: The shape will be inserted at the same position. When you want to insert the sape if the page is smaller than the current one, you may not be able to see the inserted shapes.
-
Select your shape and click the
ESIicon or select theESIaction from thePluginmenu. -
Then give a name of your shape under the desired category.If you need a new category you may create one and then place the shape in it.
-
If you need update any shape, just draw it and select the shape under its category. * Note that, if you update the shape then you cannot undo it, so keep a copy of the
shapesfolder. -
Coding step:
- No need to code anything, If you need to delete any shape or shape category, then just delete it from the
config.luafile and delete the shape file from theshapesfolder.
Don't forget to share your unique shapes with us!
