Changeset 1148 for trunk


Ignore:
Timestamp:
09/19/18 11:47:41 (6 years ago)
Author:
bln4
Message:

org.expeditee.core.Clip ->

Implemented a toString() function for Clips to help with debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/core/Clip.java

    r1097 r1148  
    139139                return new Clip(this);
    140140        }
     141       
     142        @Override
     143        public String toString() {
     144                if(_bounds == null) {
     145                        return "Empty Clip";
     146                } else {
     147                        return "Clip encasing bounds: " + _bounds;
     148                }
     149               
     150        }
    141151}
Note: See TracChangeset for help on using the changeset viewer.