Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Constraint

Sizing constraint for exports

Hierarchy

  • Constraint

Index

Properties

Properties

Readonly type

type: "SCALE" | "WIDTH" | "HEIGHT"

Type of constraint to apply; string enum with potential values below "SCALE": Scale by value "WIDTH": Scale proportionally and set width to value "HEIGHT": Scale proportionally and set height to value

Readonly value

value: number

See type property for effect of this field

Generated using TypeDoc