Package com.github.weisj.jsvg.util
Class ImageUtil
- java.lang.Object
-
- com.github.weisj.jsvg.util.ImageUtil
-
public final class ImageUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ImageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull java.awt.image.BufferedImage
copy(@NotNull RenderContext context, @NotNull java.awt.image.ImageProducer producer)
static @NotNull java.awt.image.BufferedImage
createCompatibleTransparentImage(int width, int height)
static @NotNull java.awt.image.BufferedImage
createCompatibleTransparentImage(@NotNull java.awt.Graphics2D g, double width, double height)
static @NotNull java.awt.image.BufferedImage
createCompatibleTransparentImage(@Nullable java.awt.geom.AffineTransform at, double width, double height)
static @NotNull java.awt.image.BufferedImage
createLuminosityBuffer(@Nullable java.awt.geom.AffineTransform at, double width, double height)
static int
getINT_RGBA_DataAdjust(@NotNull java.awt.image.Raster raster)
static int[]
getINT_RGBA_DataBank(@NotNull java.awt.image.Raster raster)
static int
getINT_RGBA_DataOffset(@NotNull java.awt.image.Raster raster)
static int
getINT_RGBA_ScanlineStride(@NotNull java.awt.image.Raster raster)
-
-
-
Method Detail
-
createCompatibleTransparentImage
@NotNull public static @NotNull java.awt.image.BufferedImage createCompatibleTransparentImage(@NotNull @NotNull java.awt.Graphics2D g, double width, double height)
-
createCompatibleTransparentImage
@NotNull public static @NotNull java.awt.image.BufferedImage createCompatibleTransparentImage(int width, int height)
-
createCompatibleTransparentImage
@NotNull public static @NotNull java.awt.image.BufferedImage createCompatibleTransparentImage(@Nullable @Nullable java.awt.geom.AffineTransform at, double width, double height)
-
createLuminosityBuffer
@NotNull public static @NotNull java.awt.image.BufferedImage createLuminosityBuffer(@Nullable @Nullable java.awt.geom.AffineTransform at, double width, double height)
-
getINT_RGBA_DataBank
public static int[] getINT_RGBA_DataBank(@NotNull @NotNull java.awt.image.Raster raster)
-
getINT_RGBA_DataOffset
public static int getINT_RGBA_DataOffset(@NotNull @NotNull java.awt.image.Raster raster)
-
getINT_RGBA_DataAdjust
public static int getINT_RGBA_DataAdjust(@NotNull @NotNull java.awt.image.Raster raster)
-
getINT_RGBA_ScanlineStride
public static int getINT_RGBA_ScanlineStride(@NotNull @NotNull java.awt.image.Raster raster)
-
copy
@NotNull public static @NotNull java.awt.image.BufferedImage copy(@NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.image.ImageProducer producer)
-
-