Class ImageFormat

java.lang.Object
com.nomagic.ui.ImageFormat
Direct Known Subclasses:
RasterImageFormat, VectorImageFormat

@OpenApiAll @Deprecated public class ImageFormat extends Object
Deprecated.
use ScalableImageIcon to load icons of any supported format
Describes the image format.
See Also:
  • Constructor Details

    • ImageFormat

      protected ImageFormat(boolean vector, String format)
      Deprecated.
      Constructor
      Parameters:
      vector - true if image format is vector graphics format.
  • Method Details

    • isVector

      public final boolean isVector()
      Deprecated.
      Checks if the current image format is vector graphics
      Returns:
      true - vector graphics image format, otherwise (pixel or bitmap image format) - false;
    • getFormat

      public String getFormat()
      Deprecated.
      Image format.
      Returns:
      image format.