def copy(self): new = self.__class__(self._bot, self.text) _copy_attrs( self, new, ('x', 'y', 'width', 'height', '_transform', '_transformmode', '_fillcolor', '_fontfile', '_fontsize', '_align', '_lineheight')) return new
def copy(self): copied_instance = self.__class__(self._bot, self.text) _copy_attrs( self, copied_instance, ( "x", "y", "width", "height", "style", "weight", "_fillcolor", "fontfile", "fontsize", "align", "lineheight", "_transform", "_transformmode", ), ) return copied_instance
def copy(self): p = self.__class__(self._bot, self.path, self.x, self.y, self.width, self.height) _copy_attrs(self._bot, p, self.stateAttributes) return p
def copy(self): new = self.__class__(self._bot, self.text) _copy_attrs(self, new, ('x', 'y', 'width', 'height', '_transform', '_transformmode', '_fillcolor', '_fontfile', '_fontsize', '_align', '_lineheight')) return new
def copy(self): p = self.__class__(self._bot, self.path, self.x, self.y, self.width, self.height) _copy_attrs(self._bot, p, self.state_attributes) return p