Export a path as a dict of kwargs for the Path constructor., file_type=None, file_obj=None, **kwargs)#

Export a Path object to a file- like object, or to a filename

  • file_obj (None, str, or file object) – A filename string or a file-like object

  • file_type (None or str) – File type, e.g.: ‘svg’, ‘dxf’

  • kwargs (passed to loader) –


exported – Data exported

Return type:

str or bytes