protected void renderDebugBoundingBox ( Graphics2D context ) { /* */ java . awt . Color previousColor = context . getColor ( ) ; context . setColor ( java . awt . Color . RED ) ; context . draw ( getBoundingBox ( ) ) ; context . setColor ( previousColor ) ; /* */ }
For debugging purpose draw the bounding box of the element