Package org.knowm.xchart
Class GifEncoder
java.lang.Object
org.knowm.xchart.GifEncoder
A helper class with static methods for saving Charts as a GIF file
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
saveGif
(String filePath, List<BufferedImage> images) images saved as GIF file, repeated countless times with 100ms delaystatic void
saveGif
(String filePath, List<BufferedImage> images, int repeat, int delay) images saved as GIF file, Set repeat times and delay time
-
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
-