diff --git a/Base/res/html/misc/canvas-patterns.html b/Base/res/html/misc/canvas-patterns.html new file mode 100644 index 0000000000..d2d4d31693 --- /dev/null +++ b/Base/res/html/misc/canvas-patterns.html @@ -0,0 +1,55 @@ +

Canvas Patterns

+Canvas pattern: Repeat (heart)
ctx.createPattern(img, "repeat")
+

+Canvas pattern: Repeat
ctx.createPattern(img, "repeat")
+

+Canvas pattern: Repeat
ctx.createPattern(img, "repeat-x")
+

+Canvas pattern: Repeat
ctx.createPattern(img, "repeat-y")
+

+Canvas pattern: Repeat
ctx.createPattern(img, "no-repeat")
+ + + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 88563300a7..0a99d20b6b 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -186,6 +186,7 @@
  • Canvas

  • canvas 2D test
  • canvas gradients!
  • +
  • canvas patterns
  • canvas rotate()
  • canvas path rect test
  • canvas path quadratic curve test