Horizontal constraint of the layer.
Optional
relativeThe source id of the reference layer of the constraints.
Vertical constraint of the layer.
Static
fromCreates a LayerConstraints instance from a JSON string
JSON string representing layer constraints
A new LayerConstraints instance
An interface to represent the LayerConstraints of Layer