Class ImageModalityIcon

java.lang.Object
uno.anahata.asi.swing.icons.AbstractAnahataIcon
uno.anahata.asi.swing.icons.ImageModalityIcon
All Implemented Interfaces:
Icon

public class ImageModalityIcon extends AbstractAnahataIcon
A vector icon rendering an image landscape frame with mountain peaks and sun.

Primarily used to represent image response modalities and visual generation capabilities across the ASI user interface.

Author:
anahata
  • Constructor Details

    • ImageModalityIcon

      public ImageModalityIcon(int size)
      Constructs a new ImageModalityIcon with the specified square dimensions.
      Parameters:
      size - The width and height in pixels.
  • Method Details

    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)

      Paints the picture frame, sun, and mountain landscape using anti-aliased vector paths.