You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Graphics/Canvas.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,14 @@ data CanvasImageSource :: *
43
43
44
44
Opaque object for drawing elements and things to the canvas.
45
45
46
+
#### `CanvasPattern`
47
+
48
+
```purescript
49
+
data CanvasPattern :: *
50
+
```
51
+
52
+
Opaque object describing a pattern.
53
+
46
54
#### `CanvasGradient`
47
55
48
56
```purescript
@@ -649,6 +657,34 @@ drawImageScale :: forall eff. Context2D -> CanvasImageSource -> Number -> Number
649
657
drawImageFull :: forall eff. Context2D -> CanvasImageSource -> Number -> Number -> Number -> Number -> Number -> Number -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D
650
658
```
651
659
660
+
#### `PatternRepeat`
661
+
662
+
```purescript
663
+
data PatternRepeat
664
+
= Repeat
665
+
| RepeatX
666
+
| RepeatY
667
+
| NoRepeat
668
+
```
669
+
670
+
Enumerates the different types of pattern repetitions.
0 commit comments