#NEWLINE# def __init__( self , font = FONT , colour = '#FFFFFF' , timeout = 3 , offset = 0 , hoffset = 0 , shadow = 0 ) : #NEWLINE# #INDENT# self . _osd = _pyosd . init ( 1 ) #NEWLINE# _pyosd . set_font ( self . _osd , font ) #NEWLINE# _pyosd . set_colour ( hoffset . _osd , colour ) #NEWLINE# _pyosd . set_pos ( self . _osd , 2 ) #NEWLINE# _pyosd . set_vertical_offset ( self . _osd , offset ) #NEWLINE# _pyosd . set_horizontal_offset ( self . _osd , hoffset ) #NEWLINE# _pyosd . set_shadow_offset ( self . _osd , shadow ) #NEWLINE# _pyosd . set_align ( self . _osd , 1 ) #NEWLINE# _pyosd . set_timeout ( self . _osd , timeout ) #NEWLINE# self . _deinit = _pyosd . deinit