added -(UIImage*)rectImageForSize:(CGFloat)size