OptionalmaxDetermines if there is a fixed distance to ending edge (bottom for vertical, right for horizontal).
OptionalminDetermines if there is a fixed distance to starting edge (top for vertical, left for horizontal).
Sizing mode of the layer. Possible values are defined in LayerConstraint.SIZING_MODE
StaticALLOWED_StaticSIZING_StaticfromCreates a LayerConstraint instance from a JSON string
JSON string representing a layer constraint
A new LayerConstraint instance
An interface to represent the constraint of Layer