createPattern ()方法用於沿指定方向重複指定元素。它可以是圖像,視頻或任何其他畫布元素。 用法: context.createPattern(image, "repeat | repeat-x | repeat-y ...
確定! 回上一頁