The Constraint
class helps specify how child shapes are laid out
with respect to siblings and parents.
__init__ |
Default class constructor. |
Equals |
Return True if a and b are approximately equal (for the purposes |
Evaluate |
Evaluate this constraint and return True if anything changed. |
SetSpacing |
Sets the horizontal and vertical spacing for the constraint. |
Constraint
(object)¶The Constraint
class helps specify how child shapes are laid out
with respect to siblings and parents.
__init__
(self, type, constraining, constrained)¶Default class constructor.
Parameters: |
|
---|
Equals
(self, a, b)¶Return True if a and b are approximately equal (for the purposes of evaluating the constraint).
Parameters: |
|
---|
Evaluate
(self)¶Evaluate this constraint and return True if anything changed.
SetSpacing
(self, x, y)¶Sets the horizontal and vertical spacing for the constraint.
Parameters: |
|
---|