This commit is contained in:
Ryan Oldenburg 2021-04-26 16:39:37 -05:00
parent 2694a67c52
commit 33b87f4e3c
5 changed files with 1 additions and 1 deletions

BIN
tests/fonts/image_fill.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
tests/fonts/mask_fill.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

BIN
tests/fonts/mask_stroke.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -5,7 +5,7 @@ block:
font.size = 64
let image = newImage(200, 100)
image.fill(rgba(255, 255, 255, 255))
image.filLText(font, "fill", rgba(0, 0, 0, 255))
image.fillText(font, "fill", rgba(0, 0, 0, 255))
image.writeFile("tests/fonts/image_fill.png")
block: