This Library wraps the 2Dgraphic elements of JavaFX2 which are:
Shape, Arc, Circle, CubicCurve, Ellipse, Line, Path, Polygon, Polyline, QuadCurve, Rectangle, SVGPath, and Text. As well as LinearGradient and RadialGradient.
You can add these in code, or use the SetObject Method to work with Nodes added using Scene Builder.
The attached GraphicLibTestApp produces this:
Download and unzip the jGraphicLib file and copy the jar and xml file to your additional libs directory.
Depends on: JavaObject.
I created this as I wanted to use rectangle, and got a bit carried away. So I thought I'd share it.
For that reason I haven't tested everything thoroughly, please let me know if there are any issues.
For comprehensive documentation, refer to the Javafx documentation.
Oh, and full source is also attached.
Update to V1.04
I will leave the old version as it's a long time since I've looked at it and there may be some small conflicts with the new library. I didn't find any, but just a nagging feeling that it could bite.
Enjoy
L 176 LS 103
Shape, Arc, Circle, CubicCurve, Ellipse, Line, Path, Polygon, Polyline, QuadCurve, Rectangle, SVGPath, and Text. As well as LinearGradient and RadialGradient.
You can add these in code, or use the SetObject Method to work with Nodes added using Scene Builder.
The attached GraphicLibTestApp produces this:
Download and unzip the jGraphicLib file and copy the jar and xml file to your additional libs directory.
Depends on: JavaObject.
I created this as I wanted to use rectangle, and got a bit carried away. So I thought I'd share it.
For that reason I haven't tested everything thoroughly, please let me know if there are any issues.
For comprehensive documentation, refer to the Javafx documentation.
Oh, and full source is also attached.
Update to V1.04
- Added classes required to use GLPath and minor bug fixes.
- Released as a B4xLib.
I will leave the old version as it's a long time since I've looked at it and there may be some small conflicts with the new library. I didn't find any, but just a nagging feeling that it could bite.
Enjoy
L 176 LS 103
Attachments
Last edited: