#NEWLINE# def _set_center( self , center ) : #NEWLINE# #INDENT# if ( center == trans . center ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# t = ( Vector ( * center ) - self . center ) #NEWLINE# trans = Matrix ( ) . translate ( t . x , t . y , 0 ) #NEWLINE# self . apply_transform ( trans )