def tile.corner
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-image@0.1.0.1/image.bend as Img
2328def tile.corner(+pixels: Img.Pixels, +side: U32, +x: U32, +y: U32, +weight: F32) -> Img.Color:
2329 color.fade(Img.pixels.get(pixels, side, x, y), weight)