added ability to only specify shadowColor without shadowSize