Interface DrawAdapter

  • All Known Implementing Classes:
    DrawAdapterImpl

    public interface DrawAdapter
    • Method Detail

      • fill

        default void fill​(byte color)
      • rect

        default void rect​(int x1,
                          int z1,
                          int x2,
                          int z2,
                          byte color)
      • fillRect

        void fillRect​(int x1,
                      int z1,
                      int x2,
                      int z2,
                      byte color)
      • line

        void line​(int x1,
                  int z1,
                  int x2,
                  int z2,
                  byte color)
      • fillSphere

        void fillSphere​(int originX,
                        int originZ,
                        int radius,
                        byte color)
      • setPixel

        void setPixel​(int x,
                      int z,
                      byte color)
      • drawImage

        default void drawImage​(java.awt.image.BufferedImage image)
      • drawImage

        void drawImage​(java.awt.image.BufferedImage image,
                       int x,
                       int z,
                       int width,
                       int height)
      • setPixels

        default void setPixels​(byte[][] arr)
      • toArray

        byte[][] toArray()
      • toOneDimArray

        byte[] toOneDimArray()