@express-document-sdk / ResizeOptions
Type alias: ResizeOptions
• ResizeOptions: RescaleProportionalToWidthOptions | RescaleProportionalToHeightOptions | ResizeUsingWidthOptions | ResizeUsingHeightOptions
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis flag to true in the requirements section of the manifest.json.
A type union for providing the necessary arguments to Node.resize.
Note that some nodes only support proportional resizing. In some cases this is always true (e.g. images) while in other cases it is due to the current visual details (e.g. the stroke being too thick to shrink the size of a shape).