alexyorke
alexyorke

Reputation: 4299

Masking NsImageView

How would I be able to mask an nsimageview in objective c? For example, having an nsimageview with rounded corners.

Upvotes: 0

Views: 597

Answers (1)

Peter Hosey
Peter Hosey

Reputation: 96323

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.

Upvotes: 1

Related Questions