#NEWLINE# def __init__( self , shape_type , name , options ) : #NEWLINE# #INDENT# '\n        Constructor.\n\n        ' #NEWLINE# super ( Shape , self ) . __init__ ( ) #NEWLINE# self . name = name #NEWLINE# self . shape_type = shape_type #NEWLINE# self . connect = 0 #NEWLINE# self . drawing = 0 #NEWLINE# self . edit_as = '' #NEWLINE# self . id = 0 #NEWLINE# self . text = '' #NEWLINE# self . stencil = 1 #NEWLINE# self . element = ( - 1 ) #NEWLINE# self . start = None #NEWLINE# self . start_index = None #NEWLINE# self . end = None #NEWLINE# self . end_index = None #NEWLINE# self . adjustments = [ ] #NEWLINE# self . start_side = '' #NEWLINE# self . end_side = '' #NEWLINE# self . flip_h = 0 #NEWLINE# self . flip_v = 0 #NEWLINE# self . rotation = 0 #NEWLINE# self . textbox = False #NEWLINE# self . align = None #NEWLINE# self . fill = None #NEWLINE# self . font = None #NEWLINE# self . format = None #NEWLINE# self . line = None #NEWLINE# self . _set_options ( name )