Package ej.mwt.util

Interface Outlineable

  • All Known Implementing Classes:
    Rectangle, Size

    public interface Outlineable
    Represents a two-dimensional object to which outlines can be added or removed.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addOutline​(int left, int top, int right, int bottom)
      Adds the given outline.
      void removeOutline​(int left, int top, int right, int bottom)
      Removes the given outline.
    • Method Detail

      • addOutline

        void addOutline​(int left,
                        int top,
                        int right,
                        int bottom)
        Adds the given outline.
        Parameters:
        left - the left side thickness of the outline.
        top - the top side thickness of the outline.
        right - the right side thickness of the outline.
        bottom - the bottom side thickness of the outline.
      • removeOutline

        void removeOutline​(int left,
                           int top,
                           int right,
                           int bottom)
        Removes the given outline.
        Parameters:
        left - the left side thickness of the outline.
        top - the top side thickness of the outline.
        right - the right side thickness of the outline.
        bottom - the bottom side thickness of the outline.