All Superinterfaces:
Filter, RenderableImage
All Known Implementing Classes:
PadRable8Bit

public interface PadRable extends Filter
Pads image to the given Rectangle (the rect may be smaller than the image in which case this is actually a crop). The rectangle is specified in the user coordinate system of this Renderable.
  • Method Details

    • getSource

      Filter getSource()
      Returns the source to be padded
    • setSource

      void setSource(Filter src)
      Sets the source to be padded
      Parameters:
      src - image to offset.
    • setPadRect

      void setPadRect(Rectangle2D rect)
      Set the current rectangle for padding.
      Parameters:
      rect - the new rectangle to use for pad.
    • getPadRect

      Rectangle2D getPadRect()
      Get the current rectangle for padding
      Returns:
      Rectangle currently in use for pad.
    • setPadMode

      void setPadMode(PadMode mode)
      Set the current extension mode for pad
      Parameters:
      mode - the new pad mode
    • getPadMode

      PadMode getPadMode()
      Get the current extension mode for pad
      Returns:
      Mode currently in use for pad