Java Reference
In-Depth Information
In the File Name field, enter the exported filename. In the Save as Type field,
select JavaFX Content File (.fxz), and click Save to save the file. Later in Chap-
ter 7, the developer will use this file to create an animation for the solar eclipse.
Scalable Vector Graphics
Scalable Vector Graphics (SVG) is an open and free standard language for
describing two-dimensional graphics using The Extensible Markup Language
(XML) developed under the World Wide Web Consortium (W3C) process ( http://
www.w3.org/Graphics/SVG/). SVG provides for vector graphic shapes using
paths of either lines or curves, images, and text.
JavaFX Production Suite includes an SVG conversion utility that converts SVG
graphic files to JavaFX Archive File format. To demonstrate, we saved the solar
eclipse images we created previously in the Adobe Illustrator section to an SVG
file, Eclipse.svg. To run the conversion utility in Windows, select Start | All
Programs | JavaFX Production Suite | SVG to JavaFX Converter as shown
in Figure 2.17.
Figure 2.17
SVG to JavaFX Converter
This opens the SVG Converter tool. This tool has an option to only export JFX:
layer IDs (the default) or all IDs. Figure 2.18 shows the SVG to JavaFX Graphics
Converter window.
Figure 2.18
SVG to JavaFX Graphics Converter Window
 
Search WWH ::




Custom Search