Texture_Atlas/texture_atlas.py
def resize_texture(self, image_path: str, width: int, height: int):
        '''
        Resizes a specific texture in the texture atlas.
            * image_path: string
            * width: integer 
            * height: integer
        '''

        if image_path in self.textures:
            self.textures[image_path][2] = width
            self.textures[image_path][3] = height
            self._organise()

        Resizes a specific texture in the texture atlas.
            * image_path: string
            * width: integer 
            * height: integer
        
Resizes a specific texture in the texture atlas.
image_path: string
width: integer
height: integer
Resizes a specific texture in the texture atlas . image_path : string width : integer height : integer
def resize_texture(self, image_path: str, width: int, height: int):
        if image_path in self.textures:
            self.textures[image_path][2] = width
            self.textures[image_path][3] = height
            self._organise()
def resize_texture ( self , image_path : str , width : int , height : int ) : if image_path in self . textures : self . textures [ image_path ] [ 2 ] = width self . textures [ image_path ] [ 3 ] = height self . _organise ( )
Resizes a specific texture in the texture atlas.
Resizes a specific texture in the texture atlas .
'''
        Resizes a specific texture in the texture atlas.
            * image_path: string
            * width: integer 
            * height: integer
        '''
self
image_path
str
width
int
height
int