make setBorderImage method public