draw2d icon indicating copy to clipboard operation
draw2d copied to clipboard

Is that possible for cutting a rectangle pic as rounded ?

Open hsqlu opened this issue 6 years ago • 1 comments

Given a rectangle, can I cut it to a rounded rectangle by using draw2d?

hsqlu avatar Nov 08 '19 11:11 hsqlu

Clipping is not implemented in draw2d but you can use a mask: https://blog.golang.org/go-imagedraw-package

llgcode avatar Nov 08 '19 13:11 llgcode