driptorch.Pattern.from_dict#

classmethod Pattern.from_dict(paths_dict: dict, epsg: int) driptorch.pattern.Pattern#

Alternative constructor for initializing a Pattern object with a dictionary of path parameters

Parameters
paths_dictdict

Dictionary of path parameters

epsgInt

EPSG code of path geometries

Returns
Pattern

A new instance of Pattern