Shape;
BoundingRectangle(1,1);
// This file draws a condition box using MoveTo and LineTo statements.

// Draw the lines around the larger box part.
MoveTo(left,top);
LineTo(right,top);
LineTo(right,bottom);
LineTo(midx +grid/2,bottom);
LineTo(midx,bottom +grid);
LineTo(midx -grid/2,bottom);
LineTo(left,bottom);
LineTo(left,top);


// Draw the diamond part of the shape.

MoveTo(midx,bottom -grid);
LineTo(midx +grid/2,bottom);
LineTo(midx,bottom +grid);
LineTo(midx -grid/2,bottom);
LineTo(midx,bottom -grid);

 