pass initcolor to paint
what what pixel.size by pixel.size
make undo work