[−][src]Function gdl::graphics::draw_border
pub fn draw_border(
photon_img: &mut PhotonImage,
width: u32,
background_color: &Rgb
)
Draw a border around a PhotonImage.
Arguments
container_img
- A mutable ref to a PhotonImage, which will be the container image.photon_img
- The image to be drawn onto the container image.width
- Desired width of the border.background_color
- Rgb color of the border.