Constraints
interface Constraints {
readonly horizontal: ConstraintType;
readonly vertical: ConstraintType;
}
调整其包含框架的大小时,图层的大小调整行为。
type ConstraintType = "MIN" | "CENTER" | "MAX" | "STRETCH" | "SCALE";
interface Constraints {
readonly horizontal: ConstraintType;
readonly vertical: ConstraintType;
}
调整其包含框架的大小时,图层的大小调整行为。
type ConstraintType = "MIN" | "CENTER" | "MAX" | "STRETCH" | "SCALE";