Link Search Menu Expand Document

LayoutConstraint.Relation

The relation between the first attribute and the modified second attribute in a constraint.

public enum Relation: Int 

Inheritance

Int

Enumeration Cases

lessThanOrEqual

The constraint requires the first attribute to be less than or equal to the modified second attribute.

case lessThanOrEqual

equal

The constraint requires the first attribute to be exactly equal to the modified second attribute.

case equal

greaterThanOrEqual

The constraint requires the first attribute to be greater than or equal to the modified second attribute.

case greaterThanOrEqual