MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / pattern

Function pattern

examples/commodetto/docs/main.js:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104function pattern() {
105 let pattern = parseBMP(new Resource("pattern1.bmp"));
106 poco.fillPattern(pattern, 0, 0, poco.width, poco.height);
107 poco.fillPattern(pattern, 28, 28, 63, 35, 21, 14, 7, 7);
108}
109
110function grayBitmap() {
111 poco.fillRectangle(gray, 0, 0, poco.width, poco.height);

Callers

nothing calls this directly

Calls 1

fillPatternMethod · 0.80

Tested by

no test coverage detected