Function Kata "Christmas tree"

Write a function that returns a fir tree with ASCII type "drawn" as text. The input is the height of the fir tree. For example, a fir tree of height 5:

Christmas tree.drawing(5)

       X
      XXX
     XXXXX
    XXXXXXX
   XXXXXXXXXXX
       I

Variation #1

If desired, the Christmas tree can also be topped with a star:

DrawWithTip(5) or Draw fir tree(5, true)

       *
       X
      XXX
     XXXXX
    XXXXXXX
   XXXXXXXXXXX
       I
en_USEnglish