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