adding inline doc for createCanvas