Featured classes

javax.microedition.m2g.SVGImage

This class represents an SVG image that conforms to the W3C® SVG Tiny 1.2 profile.

In the sample application, the private method loadSVGimage() in the SVGScreen class demonstrates how to create an SVGImage object from a file.

javax.microedition.m2g.SVGAnimator

This class provides methods that you can use to load an animation from an SVGImage object and to control the animation.

The sample application uses the SVGAnimator to switch between the three distinct animations that are defined in the sample.svg file using the createAnimator() method. The sample application also makes it possible for you to start the animation by clicking a button on the screen.

Previous topic: Overview

Was this information helpful? Send us your comments.