Class IO.Type

java.lang.Object
net.pl3x.map.core.Keyed
net.pl3x.map.core.image.io.IO.Type
Direct Known Subclasses:
Bmp, Gif, Jpg, Png
Enclosing class:
IO

public abstract static class IO.Type extends Keyed
  • Constructor Details

    • Type

      public Type(@NotNull @NotNull String key)
  • Method Details

    • createBuffer

      @NotNull public @NotNull BufferedImage createBuffer()
    • color

      public int color(int argb)
    • read

      @Nullable public @Nullable BufferedImage read(@NotNull @NotNull Path path)
    • write

      public void write(@NotNull @NotNull Path path, @NotNull @NotNull BufferedImage buffer)