#NEWLINE# def __init__( self , coordX = 300 , coordY = 150 , pixelX = 300 , pixelY = 150 , **kwargs ) : #NEWLINE# #INDENT# '\n        * Impl Instance. Compiler should statify all the methods, so we\n        * do not end up with duplicate code for each canvas instance.\n        ' #NEWLINE# self . impl = self . getCanvasImpl ( ) #NEWLINE# self . coordHeight = 0 #NEWLINE# self . coordWidth = 0 #NEWLINE# focusable = Focus . createFocusable ( ) #NEWLINE# self . canvas = self . impl . createElement ( ) #NEWLINE# DOM . appendChild ( focusable , self . canvas ) #NEWLINE# FocusWidget . __init__ ( self , focusable , ** kwargs ) #NEWLINE# self . setPixelWidth ( self ) #NEWLINE# self . setPixelHeight ( pixelY ) #NEWLINE# self . setCoordSize ( coordX , coordY )