Brush Layer migrating from V2 to V4

I am migrating an old code from v2 to v4.
The code includes some free drawing brush using “draw” function on a LayerColor.

I noticed that the draw function used in v2 cannot be used anymore since it overrides a final function Node::draw.

Also, I cannot set ccPointSize or ccColor4B anymore…
How can I change these functions for cocos2d-x v4.0?