lib/photobot/__init__.py
def duplicate(self):
    
        """Creates a copy of the current layer.
    
        This copy becomes the top layer on the canvas.
    
        """
    
        i = self.canvas.layer(self.img.copy(), self.x, self.y, self.name)
        clone = self.canvas.layers[i]
        clone.alpha = self.alpha
        clone.blend = self.blend
def duplicate(self):
    
        """Creates a copy of the current layer.
    
        This copy becomes the top layer on the canvas.
    
        """
    
        i = self.canvas.layer(self.img.copy(), self.x, self.y, self.name)
        clone = self.canvas.layers[i]
        clone.alpha = self.alpha
        clone.blend = self.blend
def duplicate ( self ) : i = self . canvas . layer ( self . img . copy ( ) , self . x , self . y , self . name ) clone = self . canvas . layers [ i ] clone . alpha = self . alpha clone . blend = self . blend
Creates a copy of the current layer.
    
        This copy becomes the top layer on the canvas.
Creates a copy of the current layer . This copy becomes the top layer on the canvas .