Custom-shaped images

Hello,

N7qtnR1.png

Is there any neatly way of creating a custom-shaped image like this one in my image on the right from picture on the left?

Thanks for answer in advance

Hi

Yeas, you can do this fairly easily using masks, see example below

https://developer.coronalabs.com/node/5249

Cheers

Dean

Hello @l27741, @idiot.dw,

The link provided above goes to an old, broken document. I am just now finishing up a new, updated guide on masking, and it will be uploaded today or tomorrow.

In the meantime, I suggest you refer to the API documentation on masking here:

http://docs.coronalabs.com/api/type/DisplayObject/setMask.html

Best regards,

Brent

Hi

Yeas, you can do this fairly easily using masks, see example below

https://developer.coronalabs.com/node/5249

Cheers

Dean

Hello @l27741, @idiot.dw,

The link provided above goes to an old, broken document. I am just now finishing up a new, updated guide on masking, and it will be uploaded today or tomorrow.

In the meantime, I suggest you refer to the API documentation on masking here:

http://docs.coronalabs.com/api/type/DisplayObject/setMask.html

Best regards,

Brent