Interface Bitmap


public interface Bitmap
A binary image in the BGRA format.

The Bitmap can be used to obtain graphical images in the supported UI toolkits. For this, look up the toolkit-specific ancestors of the BitmapImage available in the classpath.

Since:
7.1
  • Method Summary

    Modifier and Type
    Method
    Description
    default byte[]
    Returns a byte array that contains the pre-multiplied pixels of the binary image.
    default Size
    Returns Size of this bitmap instance.
  • Method Details

    • size

      default Size size()
      Returns Size of this bitmap instance. The size can be empty.
    • pixels

      default byte[] pixels()
      Returns a byte array that contains the pre-multiplied pixels of the binary image. Each pixel allocates 4 bytes in the BGRA format.