made 'setColorAndAlpha' method public