Creates a new constraint representing a relation between a layout attribute on a source and a layout attribute on a target.
target |
the target of the constraint
|
target_attribute |
the attribute of `target` to be set
|
relation |
the relation equivalence between `target_attribute` and `source_attribute`
|
source |
the source of the constraint
|
source_attribute |
the attribute of `source` to be read
|
multiplier |
a multiplication factor to be applied to `source_attribute`
|
constant |
a constant factor to be added to `source_attribute`
|
strength |
the strength of the constraint
|
the newly created constraint
|