public static void drawRectangle ( Rectangle2D_I32 rect , Graphics2D g2 ) { g2 . drawLine ( rect . x0 , rect . y0 , rect . x1 , rect . y0 ) ; g2 . drawLine ( rect . x1 , rect . y0 , rect . x1 , rect . y1 ) ; g2 . drawLine ( rect . x0 , rect . y1 , rect . x1 , rect . y1 ) ; g2 . drawLine ( rect . x0 , rect . y1 , rect . x0 , rect . y0 ) ; }
Draws an axis aligned rectangle