In a 9patch png, there are black edges in its four sides, but there is usually difference between the left to right, and the up to down side. Why? How does this difference impact?
One of simplest ans is
draw the black line according to your requirement using nine patch tools.