Uses of Class
org.knowm.xchart.BitmapEncoder.BitmapFormat
-
Packages that use BitmapEncoder.BitmapFormat Package Description org.knowm.xchart -
-
Uses of BitmapEncoder.BitmapFormat in org.knowm.xchart
Methods in org.knowm.xchart that return BitmapEncoder.BitmapFormat Modifier and Type Method Description static BitmapEncoder.BitmapFormat
BitmapEncoder.BitmapFormat. valueOf(String name)
Returns the enum constant of this type with the specified name.static BitmapEncoder.BitmapFormat[]
BitmapEncoder.BitmapFormat. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.knowm.xchart with parameters of type BitmapEncoder.BitmapFormat Modifier and Type Method Description static String
BitmapEncoder. addFileExtension(String fileName, BitmapEncoder.BitmapFormat bitmapFormat)
Only adds the extension of the BitmapFormat to the filename if the filename doesn't already have it.static byte[]
BitmapEncoder. getBitmapBytes(org.knowm.xchart.internal.chartpart.Chart chart, BitmapEncoder.BitmapFormat bitmapFormat)
Generates a byte[] for a given chartstatic void
BitmapEncoder. saveBitmap(List<org.knowm.xchart.internal.chartpart.Chart> charts, Integer rows, Integer cols, OutputStream targetStream, BitmapEncoder.BitmapFormat bitmapFormat)
Save list of Charts into a given stream.static void
BitmapEncoder. saveBitmap(List<org.knowm.xchart.internal.chartpart.Chart> charts, Integer rows, Integer cols, String fileName, BitmapEncoder.BitmapFormat bitmapFormat)
Save list of Charts as an image file.static void
BitmapEncoder. saveBitmap(org.knowm.xchart.internal.chartpart.Chart chart, OutputStream targetStream, BitmapEncoder.BitmapFormat bitmapFormat)
Write a Chart into a given stream.static void
BitmapEncoder. saveBitmap(org.knowm.xchart.internal.chartpart.Chart chart, String fileName, BitmapEncoder.BitmapFormat bitmapFormat)
Save a Chart as an image filestatic void
BitmapEncoder. saveBitmapWithDPI(org.knowm.xchart.internal.chartpart.Chart chart, String fileName, BitmapEncoder.BitmapFormat bitmapFormat, int DPI)
Save a chart as a PNG with a custom DPI.
-