[#84] Implemented onDraw in BoxRectangle2D.