add Horizontal and Vertical constraint classes
This commit is contained in:
1 parent
f1282e6cb6
commit
4932447df9
2 files changed
+12
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
from Constraint import Constraint
|
||||||
|
|
||||||
|
class Horizontal(Constraint):
|
||||||
|
def __init__(self, shape):
|
||||||
|
self.shape = shape
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
from Constraint import Constraint
|
||||||
|
|
||||||
|
class Vertical(Constraint):
|
||||||
|
def __init__(self, shape):
|
||||||
|
self.shape = shape
|
||||||
Reference in new issue
Block a user