Class ImageLayer


  • public final class ImageLayer
    extends java.lang.Object
    A layer in a multilayer image.
    • Constructor Detail

      • ImageLayer

        public ImageLayer​(java.awt.image.BufferedImage image)
      • ImageLayer

        public ImageLayer​(java.awt.image.BufferedImage image,
                          int x,
                          int y)
      • ImageLayer

        public ImageLayer​(java.awt.image.BufferedImage image,
                          int x,
                          int y,
                          float alpha)
      • ImageLayer

        public ImageLayer​(java.awt.image.BufferedImage image,
                          int x,
                          int y,
                          float alpha,
                          ImageLayer.BlendingMode blendMode)
    • Method Detail

      • getX

        public int getX()
      • getY

        public int getY()
      • getImage

        public java.awt.image.BufferedImage getImage()
      • getAlpha

        public float getAlpha()
      • setX

        public void setX​(int x)
      • setY

        public void setY​(int y)
      • setImage

        public void setImage​(java.awt.image.BufferedImage image)
      • setAlpha

        public void setAlpha​(float alpha)
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getLocation

        public java.awt.Point getLocation()
      • setLocation

        public void setLocation​(java.awt.Point p)
      • getRectangle

        public java.awt.Rectangle getRectangle()
      • getSize

        public java.awt.Dimension getSize()
      • paint

        public void paint​(java.awt.Graphics2D g)
      • createStyledImage

        public java.awt.image.BufferedImage createStyledImage()
      • isVisible

        public boolean isVisible()
      • setVisible

        public void setVisible​(boolean visible)