When two border sides have different colors, the edge joining them should be anti-aliased. When two border sides have the same color, the edge joining them should not be anti-aliased and no corner joints should be visible.