Screen Space Painter Tools / APIs
-
- Posts: 43
- Joined: Mon Feb 08, 2021 5:37 pm
- Been thanked: 1 time
Screen Space Painter Tools / APIs
The L1 API documentation here -- https://github.com/BookmapAPI/DemoStrategies
Talks about a screen space painter tool. Is there additional documentation you can point me to for usage?
Talks about a screen space painter tool. Is there additional documentation you can point me to for usage?
-
- Posts: 548
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: Screen Space Painter Tools / APIs
There are some examples and some info in the javadoc.
Examples:
https://github.com/BookmapAPI/DemoStrat ... acepainter
Javadoc:
There is bm-l1api-javadoc.jar in your Bookmap program folder. Rename it to zip, extract and open the index.html file.
Examples:
https://github.com/BookmapAPI/DemoStrat ... acepainter
Javadoc:
There is bm-l1api-javadoc.jar in your Bookmap program folder. Rename it to zip, extract and open the index.html file.
-
- Posts: 43
- Joined: Mon Feb 08, 2021 5:37 pm
- Been thanked: 1 time
Re: Screen Space Painter Tools / APIs
Thank you for the examples.
One more question -- all the examples are of type @Layer1Attachable, vs. @Layer1SimpleAttachable. Does that mean I'm required to switch to @Layer1Attachable to use the Screen Painter API's?
Thanks you
One more question -- all the examples are of type @Layer1Attachable, vs. @Layer1SimpleAttachable. Does that mean I'm required to switch to @Layer1Attachable to use the Screen Painter API's?
Thanks you
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Screen Space Painter Tools / APIs
Not really. Screen Space Painter extension (same as some other extensions) can be used from both Simplified and Core API in a similar way.
-
- Posts: 43
- Joined: Mon Feb 08, 2021 5:37 pm
- Been thanked: 1 time
Re: Screen Space Painter Tools / APIs
I pulled down 7.1.0.65 package. The jars have the ScreenSpace* classes, but the javadocs files for core and simplified do not have anything on the classes. Are there javadocs for them somewhere else? (I'm lost without some sort of documentation.
Thanks
Thanks
-
- Posts: 548
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: Screen Space Painter Tools / APIs
We have javadoc online now. Please use this url
http://javadoc.bookmap.com/maven2/relea ... /7.1.0.65/
You can scroll the classes on the left bottom to ScreenSpace classes.
http://javadoc.bookmap.com/maven2/relea ... /7.1.0.65/
You can scroll the classes on the left bottom to ScreenSpace classes.
-
- Posts: 43
- Joined: Mon Feb 08, 2021 5:37 pm
- Been thanked: 1 time
Re: Screen Space Painter Tools / APIs
I must be missing something silly, but I am unable to convert any of the SSP demos from a Layer1Attachable to a Layer1SimpleAttachable. Would you please provide a sample SSP demo that is implemented using Layer1SimpleAttachable?
Thanks in advance.
Thanks in advance.
-
- Posts: 548
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: Screen Space Painter Tools / APIs
Hi, here is the demo for Simplified API (SimpleAttachable) providing the same feature as Layer1ApiCanvasColorsDemo (Core API/Attachable).
- Attachments
-
- SSPClass.java
- (7.68 KiB) Downloaded 174 times
-
- SimplifiedDemoSSP.java
- (1.23 KiB) Downloaded 156 times
-
- Posts: 43
- Joined: Mon Feb 08, 2021 5:37 pm
- Been thanked: 1 time