if (rect.splits != null) {\r
writer\r
.write(" split: " + rect.splits[0] + ", " + rect.splits[1] + ", " + rect.splits[2] + ", " + rect.splits[3] + "\n");\r
- if (rect.pads != null) {\r
- writer.write(" pad: " + rect.pads[0] + ", " + rect.pads[1] + ", " + rect.pads[2] + ", " + rect.pads[3] + "\n");\r
- }\r
+ }\r
+ if (rect.pads != null) {\r
+ if (rect.splits == null) writer.write(" split: 0, 0, 0, 0\n");\r
+ writer.write(" pad: " + rect.pads[0] + ", " + rect.pads[1] + ", " + rect.pads[2] + ", " + rect.pads[3] + "\n");\r
}\r
writer.write(" orig: " + rect.originalWidth + ", " + rect.originalHeight + "\n");\r
writer.write(" offset: " + rect.offsetX + ", " + (rect.originalHeight - rect.image.getHeight() - rect.offsetY) + "\n");\r