When I'm using the demo project, we can use this line of code:
G2DTarget target1 = (G2DTarget) previewController.getRenderTarget(RenderTarget.G2D_TARGET);
to get the render target, but when I'm trying to include the java-tookit 9.1 jar to my projetc then using this code, there is no attribute G2D_TARGET in the RenderTarget Interface;
There is only : PDF, PROCESSING and SVG targets.
Have you any ideas?
Thanks in advance.
Can we use RenderTarget.G2D_TARGET in Gephi 9.1
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can we use RenderTarget.G2D_TARGET in Gephi 9.1
Are you sure you are using Toolkit version 0.9.1?
Version 0.8.2 used to have processing, but 0.9+ does not.
Check https://github.com/gephi/gephi/issues/1289 and https://github.com/gephi/gephi/blob/0.9 ... arget.java
Version 0.8.2 used to have processing, but 0.9+ does not.
Check https://github.com/gephi/gephi/issues/1289 and https://github.com/gephi/gephi/blob/0.9 ... arget.java
-
- Posts:7
- Joined:09 Feb 2017 12:04 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can we use RenderTarget.G2D_TARGET in Gephi 9.1
Hi,
effectively I was using an old Jar,
thanks again for your fast responses,
effectively I was using an old Jar,
thanks again for your fast responses,