For each method you need to have code that writes some * on a line.
The method for the filled one writes the same number on each line.
The method for the outline only writes a full line of * for the first and last line.
For the inbetween lines, it writes a starting *, some blanks and and ending *