gustaf.edges.Edges.dashed#

Edges.dashed(spacing=None)[source]#

Turn edges into dashed edges(=lines). Given spacing, it will try to chop edges as close to it as possible. Pattern should look:

dashed edges

o--------o    o--------o    o--------o
|<------>|             |<-->|
   (chop length)         (chop length / 2)
Parameters:

spacing (float) – Default is None and it will use self.bounds_diagonal_norm() / 50

Returns:

dashing_edges

Return type:

Edges