My use case is multiple
1. I use layers on the reMarkable to selectively hide/show my markings - used to memorize and practice exercises while keeping at the same time a sort of 'version history'. When Drawj2d supports multiple layers, I can create in the same document both the exercise AND the solution.
2. I use layers on the remarkable to differentiate between how "sure" I am of my markings: draft - final - thoughts etc. When Drawj2d supports multiple layers I can create a layer with shapes (the upper layer) that I can select and copy/paste, and a layer with a descriptive text (the bottom layer) that is visible but not selectable.
I've had a look at the sourcecode and admit my java-knowledge is limited and my understanding of the inner workings of Drawj2d is non-existent). My first idea of a possible approach would be to look in ReMarkablePage.java and modify
* the "export" function and loop over multiple layers
* the "writelayer" function and only write those lines that match a criteria indicating these lines belong to this layer
What that criteria is and how to tag the line with that criteria is another thing. This is where I thought of the opacity. This is already an attribute and maybe it can be re-used to indicate the layer.
However, my use cases are just nice to haves. No worries.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there support of the 'layers' in rmn/rmdoc files? I'd like to have shapes on different layers.
If not, is this a future feature. Maybe the Opacity can be used for this.
Eg Opacity 1.0 => Layer 1, Opacity [0.9 - 1.0) => Layer 2 etc
John
Drawj2d does not support drawing on different layers.
I guess it would actually require too much work to implement (for a feature I do not use personally).
May I ask what is your use case?
My use case is multiple
1. I use layers on the reMarkable to selectively hide/show my markings - used to memorize and practice exercises while keeping at the same time a sort of 'version history'. When Drawj2d supports multiple layers, I can create in the same document both the exercise AND the solution.
2. I use layers on the remarkable to differentiate between how "sure" I am of my markings: draft - final - thoughts etc. When Drawj2d supports multiple layers I can create a layer with shapes (the upper layer) that I can select and copy/paste, and a layer with a descriptive text (the bottom layer) that is visible but not selectable.
I've had a look at the sourcecode and admit my java-knowledge is limited and my understanding of the inner workings of Drawj2d is non-existent). My first idea of a possible approach would be to look in ReMarkablePage.java and modify
* the "export" function and loop over multiple layers
* the "writelayer" function and only write those lines that match a criteria indicating these lines belong to this layer
What that criteria is and how to tag the line with that criteria is another thing. This is where I thought of the opacity. This is already an attribute and maybe it can be re-used to indicate the layer.
However, my use cases are just nice to haves. No worries.