Last updated 2 years ago
Draw rounded corners on the image.
The instance of *imgo.Image .
*imgo.Image
package main import ( "github.com/fishtailstudio/imgo" "image/color" ) func main() { imgo.Canvas(300, 300, color.White). BorderRadius(30). Save("out.png") }
radius
int
The radius of rounded corners.