draw2d
draw2d copied to clipboard
Is that possible for cutting a rectangle pic as rounded ?
Given a rectangle, can I cut it to a rounded rectangle by using draw2d?
Clipping is not implemented in draw2d but you can use a mask: https://blog.golang.org/go-imagedraw-package