Enumeration
EmptyFrameFittingOptions
Options for fitting content in an empty frame.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1668575078 | readonly | Resizes content to fit the frame. Note: Content that has different proportions than the frame appears stretched or squeezed. | |
| Number = 1718185072 | readonly | Resizes content to fill the frame while perserving the content's proportions. If the content and frame have different proportions, some of the content is obscured by the frame. | |
| Number = 1852796517 | readonly | Does not use a fitting option. | |
| Number = 1668247152 | readonly | Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space appears in the frame. |
Object of 3
Properties elsewhere that hold an EmptyFrameFittingOptions value.