Uniform initialization for WindowParameters.