Package com.github.weisj.jsvg.util
Class ImageUtil
java.lang.Object
com.github.weisj.jsvg.util.ImageUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BufferedImagecopy(@NotNull RenderContext context, @NotNull ImageProducer producer) static @NotNull BufferedImagecreateCompatibleTransparentImage(int width, int height) static @NotNull BufferedImagecreateCompatibleTransparentImage(@NotNull Output output, double width, double height) static @NotNull BufferedImagecreateCompatibleTransparentImage(@Nullable AffineTransform at, double width, double height) static @NotNull BufferedImagecreateLuminosityBuffer(@Nullable AffineTransform at, double width, double height) static intgetINT_RGBA_DataAdjust(@NotNull Raster raster) static int[]getINT_RGBA_DataBank(@NotNull Raster raster) static intgetINT_RGBA_DataOffset(@NotNull Raster raster) static intgetINT_RGBA_ScanlineStride(@NotNull Raster raster)
-
Method Details
-
createCompatibleTransparentImage
@NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(@NotNull @NotNull Output output, double width, double height) -
createCompatibleTransparentImage
@NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(int width, int height) -
createCompatibleTransparentImage
@NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(@Nullable @Nullable AffineTransform at, double width, double height) -
createLuminosityBuffer
@NotNull public static @NotNull BufferedImage createLuminosityBuffer(@Nullable @Nullable AffineTransform at, double width, double height) -
getINT_RGBA_DataBank
-
getINT_RGBA_DataOffset
-
getINT_RGBA_DataAdjust
-
getINT_RGBA_ScanlineStride
-
copy
@NotNull public static @NotNull BufferedImage copy(@NotNull @NotNull RenderContext context, @NotNull @NotNull ImageProducer producer)
-