[traits] Formalize Flippable and Pivotable depending on Positionable
This commit is contained in:
parent
8a56679884
commit
48f7569c1f
5 changed files with 26 additions and 34 deletions
|
|
@ -15,8 +15,8 @@ from .utils import annotations_t, rotation_matrix_2d, annotations_eq, annotation
|
|||
from .repetition import Repetition
|
||||
from .traits import (
|
||||
PositionableImpl, RotatableImpl, ScalableImpl,
|
||||
Mirrorable, PivotableImpl, Copyable, RepeatableImpl, AnnotatableImpl,
|
||||
Flippable, FlippableImpl,
|
||||
PivotableImpl, Copyable, RepeatableImpl, AnnotatableImpl,
|
||||
FlippableImpl,
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ if TYPE_CHECKING:
|
|||
|
||||
@functools.total_ordering
|
||||
class Ref(
|
||||
PositionableImpl, RotatableImpl, ScalableImpl, Mirrorable,
|
||||
PivotableImpl, Copyable, RepeatableImpl, AnnotatableImpl,
|
||||
FlippableImpl, Flippable,
|
||||
FlippableImpl, PivotableImpl, RepeatableImpl, AnnotatableImpl,
|
||||
PositionableImpl, RotatableImpl, ScalableImpl,
|
||||
Copyable,
|
||||
):
|
||||
"""
|
||||
`Ref` provides basic support for nesting Pattern objects within each other.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue