void function ( ) { Pen loc0 = new Pen ( 120 , 160 , myCanvas ) ; loc0 . setColor ( Color . GREEN ) ; for ( int loc1 = 0 ; loc1 < 5 ; loc1 ++ ) { loc0 . move ( 80 ) ; loc0 . turn ( - 72 ) ; } }
draw a pentagon on the screen . concode_field_sep Random random concode_elem_sep Canvas myCanvas concode_field_sep void square concode_elem_sep void drawSquare concode_elem_sep void colorScribble concode_elem_sep void clear concode_elem_sep void drawSpiral concode_elem_sep void drawTriangle concode_elem_sep void drawPolygon concode_elem_sep void drawWheel