SVG icons in JavaFX8


Some useful links for Scaleable Vector Graphics icons and their path Strings.

SCALABLE VECTOR GRAPHICS (SVG)

http://www.w3.org/Graphics/SVG/

266 Icons

http://raphaeljs.com/icons/

004-svgicons

Using the Paths in JavaFX

SVGPath myIcon = new SVGPath();
myIcon.setFill(Color.rgb(0, 255, 0, .9));
myIcon.setStroke(Color.WHITE);//
myIcon.setContent("M2.379,14.729 5.208,11.899 12.958,19.648 25.877,6.733 28.707,9.56112.958,25.308z");
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s