Interface DMImportedWidget


public interface DMImportedWidget
Represents an image imported through the import/widgets folder inside the plugin's folder.
  • Method Details

    • getName

      String getName()
      Returns:
      The name of the image.
    • setPath

      boolean setPath(@NotNull @NotNull String path)
      Sets the name of the image.
      Parameters:
      path - the new path and name of the image. For example "example_folder/example"
    • getFile

      File getFile()
      Returns:
      The file of the image.
    • getWidth

      int getWidth()
      Returns:
      The width of the image.
    • getHeight

      int getHeight()
      Returns:
      The height of the image.