Design and analysis of the homogeneous and heterogeneous distribution of water confined within colloidal polymer particles