def _get_style(self, gc, rgbFace):
if rgbFace is None:<EOL><INDENT>fill = '<STR_LIT:none>'<EOL><DEDENT>else:<EOL><INDENT>fill = rgb2hex(rgbFace[:<NUM_LIT:3>])<EOL><DEDENT>offset, seq = gc.get_dashes()<EOL>if seq is None:<EOL><INDENT>dashes = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>dashes = '<STR_LIT>' % (<EOL>'<STR_LIT:U+002C>'.join(['<STR_LIT>'%val for val in seq]), offset)<EOL><DEDENT>linewidth = gc.get_linewidth()<EOL>if linewidth:<EOL><INDENT>return '<STR_LIT>''<STR_LIT>' % (<EOL>fill,<EOL>rgb2hex(gc.get_rgb()[:<NUM_LIT:3>]),<EOL>linewidth,<EOL>gc.get_joinstyle(),<EOL>_capstyle_d[gc.get_capstyle()],<EOL>dashes,<EOL>gc.get_alpha(),<EOL>)<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>' % (fill,<EOL>gc.get_alpha(),<EOL>)<EOL><DEDENT>
return the style string.
style is generated from the GraphicsContext, rgbFace and clippath