Constraints
typescript
interface Constraints {
readonly horizontal: ConstraintType;
readonly vertical: ConstraintType;
}The resizing behavior of a layer when its containing frame is resized.
typescript
type ConstraintType = "MIN" | "CENTER" | "MAX" | "STRETCH" | "SCALE";