Changeset 1426 for trunk/src/org/expeditee/items/Picture.java
- Timestamp:
- 07/31/19 15:51:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Picture.java
r1420 r1426 62 62 public class Picture extends XRayable { 63 63 64 public static final String REDACTED_IMAGE_NAME = "redacted.png"; 65 64 66 private static final float CROPPING_COMPOSITE_ALPHA = 0.5f; 65 67 … … 146 148 parseSize(); 147 149 } 150 151 public boolean isNoise() { 152 return _fileName.equals(REDACTED_IMAGE_NAME); 153 } 154 155 148 156 149 157 protected String getImageSize() { … … 788 796 } 789 797 */ 790 _image = Image.getImage(_path); 798 799 if (isNoise()) { 800 _image = Image.getNoise(); 801 } else { 802 _image = Image.getImage(_path); 803 } 804 791 805 return true; 792 806 }
Note:
See TracChangeset
for help on using the changeset viewer.