Interface BitmaskContainer<T>

  • Type Parameters:
    T - the type of image the bitmask represents
    All Known Implementing Classes:
    BufferedImageBitmaskContainer

    public interface BitmaskContainer<T>
    Interface for containers that store bitmasks.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • hasBitmasks

        boolean hasBitmasks()
        Checks whether bitmasks are present.
        Returns:
        true if present
      • getNumBitmasks

        int getNumBitmasks()
        Returns the number of bitmasks stored.
        Returns:
        the number of masks
      • setBitmasks

        void setBitmasks​(T[] value)
        Stores the bitmasks.
        Parameters:
        value - the bitmasks to store, null to remove
      • getBitmasks

        T[] getBitmasks()
        Returns the stored bitmasks.
        Returns:
        the bitmasks, null if none stored