Class GifEncoder
java.lang.Object
org.knowm.xchart.GifEncoder
A helper class with static methods for saving Charts as a GIF file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsaveGif(String filePath, List<BufferedImage> images) images saved as GIF file, repeated countless times with 100ms delaystatic voidsaveGif(String filePath, List<BufferedImage> images, int repeat, int delay) images saved as GIF file, Set repeat times and delay time
-
Field Details
-
GIF_FILE_EXTENSION
- See Also:
-
-
Constructor Details
-
GifEncoder
public GifEncoder()
-
-
Method Details
-
saveGif
images saved as GIF file, repeated countless times with 100ms delay- Parameters:
filePath- GIF file pathimages- Multiple BufferedImages for Chart
-
saveGif
images saved as GIF file, Set repeat times and delay time- Parameters:
filePath- GIF file pathimages- Multiple BufferedImages for Chartrepeat- repeat times, less than 0 does not repeat,0 countless timesdelay- delay time in milliseconds
-