import "golang.org/x/exp/shiny/imageutil"
Package imageutil implements some image utility functions.
Border returns four rectangles that together contain those points between r and r.Inset(inset). Visually:
00000000 00000000 11....22 11....22 11....22 33333333 33333333
The inset may be negative, in which case the points will be outside r.
Some of the returned rectangles may be empty. None of the returned rectangles will overlap.
Package imageutil imports 1 packages (graph) and is imported by 2 packages. Updated 2020-12-29. Refresh now. Tools for package owners.