Skip to content

Commit

Permalink
Merge branch 'main' into transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
reznakt committed Feb 3, 2025
2 parents 5bf5376 + 061e006 commit b196d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions svglab/elements/traits.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ class GraphicsElement(
pass


class Shape(GraphicsElement):
class Shape(regular.PathLength, GraphicsElement):
pass


class _PathLike(Protocol):
d: models.Attr[d.D]


class BasicShape(regular.PathLength, Shape, metaclass=abc.ABCMeta):
class BasicShape(Shape, metaclass=abc.ABCMeta):
@abc.abstractmethod
def to_d(self) -> d.D:
"""Convert this basic shape into path data.
Expand Down

0 comments on commit b196d54

Please sign in to comment.