How can I alter a square image into a circular one in Sketch?
I want to take a rectangular image in Sketch and give it a circle/radius style.
That's actually quite easy. There are two ways to do it:
1. Use a Mask
Best way IMHO, as it gives you more flexibility / editing options.
Import your image:
Draw a circle that will mask your image:
Move the circle behind the bitmap using the
Use the circle to mask the bitmap, by selecting it and choosing
Layer â€º Use as Maskfrom the menu:
As an extra step, you can group your bitmap and the circle mask, to stop the circle from masking other shapes:
To add a border: add another circle shape placed above the masked image.
2. Use a pattern fill
Draw the circle where you want your image to appear:
Select Fill â€º Pattern Fillin the inspector:
Choose Imageâ€¦and select your bitmap:
Set the fill options to
Fillin the drop down:
Add a border to the circle as you normally would.
Hope it helps!