开发者

Masking NsImageView

How would I be able to mask an nsimageview in objective c? For example开发者_如何学C, having an nsimageview with rounded corners.


You don't. If you want to draw an image in a way that NSImageView doesn't support, you'll need to make your own view to draw it.

The only other way would be to mask the image itself before passing it off to the image view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜