Class CopyIcon

All Implemented Interfaces:
Icon

public class CopyIcon extends AbstractAnahataIcon
A programmatically drawn icon representing a "Copy" action.

Stylized as two overlapping squares using the authentic Barça palette (Red, Blue, and Yellow) to signify duplication and movement.

Author:
anahata
  • Constructor Details

    • CopyIcon

      public CopyIcon(int size)
      Constructs a new CopyIcon with the specified size.
      Parameters:
      size - The size in pixels.
  • Method Details

    • paintIcon

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

      Renders the dual-square copy symbol with high-fidelity color blending.