@Override public void writeConstructorParams(DataOutput out) throws IOException { super.writeConstructorParams(out); out.writeInt(width); out.writeInt(height); }