render
fun render(pattern: HatchPattern, color: ColorRgba, background: ColorRgba?, spacing: Int, thickness: Float): PixelImage
A square tile of spacing pixels with lines of pattern in color (thickness pixels wide) on background (transparent if null), that repeats without a seam.