Interface PixGridBannerPanel

All Superinterfaces:
org.refcodes.mixin.Clearable, PixGridPanel, VisibleAccessor, VisibleAccessor.VisibleMutator, VisibleAccessor.VisibleProperty

public interface PixGridBannerPanel
extends PixGridPanel
The PixGridBannerPanel extends the PixGridPanel and manages a RgbPixmap to be painted on a grid panel (such as an LED matrix) and moved or faded over that grid panel. The panel is divided into pixels of a defined x and y position, a defined size and defined PixelShape. The underlying RgbPixmap is projected onto that grid pane by applying any of the various operations.
  • Method Details

    • moveNorth

      void moveNorth​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the north.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveNorthEast

      void moveNorthEast​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the north east.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveEast

      void moveEast​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the east.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveSouthEast

      void moveSouthEast​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the south east.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveSouth

      void moveSouth​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the south.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveSouthWest

      void moveSouthWest​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the south west.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveWest

      void moveWest​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the west.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • moveNorthWest

      void moveNorthWest​(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
      Move the RgbPixmap to the north west.
      Parameters:
      aSteps - the a steps
      aStartDelayInMillis - the a start delay in milliseconds
      aEndDelayInMillis - the a end delay in milliseconds
    • stepFadeToPixmap

      void stepFadeToPixmap​(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, int aStepWidth, int aPixelDelayMillis)
      Step fade to pixmap.
      Parameters:
      aFadeToPixmap - the a fade to pixmap
      aOffsetX - the a offset X
      aOffsetY - the a offset Y
      aStepWidth - the a step width
      aPixelDelayMillis - the a pixel delay milliseconds
    • rndFadeToPixmap

      void rndFadeToPixmap​(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, float aPixelPropability, int aPixelDelayMillis)
      Rnd fade to pixmap.
      Parameters:
      aFadeToPixmap - the a fade to pixmap
      aOffsetX - the a offset X
      aOffsetY - the a offset Y
      aPixelPropability - the a pixel probability
      aPixelDelayMillis - the a pixel delay milliseconds