Added isFilled to AddFigure.