Class BlittableImage

java.lang.Object
com.github.weisj.jsvg.util.BlittableImage

public final class BlittableImage extends Object
Class that encapsulates rendering to an offscreen image. The image is aligned to the pixel boundary of the root image surface. Rendering to the image behaves and the blitting it behaves as if it was rendered directly to the root surface.
  • Field Details

    • image

      @NotNull private final @NotNull BufferedImage image
    • context

      @NotNull private final @NotNull RenderContext context
    • boundsInDeviceSpace

      @NotNull private final @NotNull Rectangle2D boundsInDeviceSpace
    • userBoundsInRootSpace

      @NotNull private final @NotNull Rectangle2D userBoundsInRootSpace
  • Constructor Details

  • Method Details