Glass transition temperature of particles for drug delivery