Can you change a graphic border to a hexagon?

I have a graphic that is a circle, but its border is a square - is it possible to change this border to a hexagon, or does a border always have to be a rectangle?