pub fn new(texture: Texture, piece_size: i32, scale: i32) -> BorderRenderer {
        BorderRenderer {
            texture: texture,
            piece_size: piece_size,
            scale: scale,
        }
    }
/// Create a new border renderer.
///
/// # Arguments
///
/// * texture - an sdl texture where the pieces are store horizontally in the order:
/// top-left, top, top-right, left, bottom-left, bottom-right.
/// * piece_size - The horizontal width of one of the pieces.
/// * scale - The scale to draw the border at
Create a new border renderer.
Create a new border renderer .
pub fn new(texture: Texture, piece_size: i32, scale: i32) -> BorderRenderer {
        BorderRenderer {
            texture: texture,
            piece_size: piece_size,
            scale: scale,
        }
    }
pub fn new ( texture : Texture , piece_size : i32 , scale : i32 ) -> BorderRenderer { BorderRenderer { texture : texture , piece_size : piece_size , scale : scale , } }
Create a new border renderer.
Create a new border renderer .
texture
Texture
piece_size
i32
scale
i32
texture
Texture
piece_size
i32
scale
i32