/// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)DisplayId;
         hashCode = (hashCode * 397) ^ Overlap.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)PixelShiftType;
         hashCode = (hashCode * 397) ^ (int)Rotation;
         return(hashCode);
     }
 }