Edit in GitHubLog an issue

Fitting

Options for fitting content to a frame.

Class

Read Only

Number PROPORTIONAL = 1684885618

Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space occurs in the frame.


Read Only

Number FIT_CONTENT_TO_FRAME = 1684883043

Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.


Read Only

Number FIT_FRAME_TO_CONTENT = 1684883046

Resizes the frame to fit the content.


Read Only

Number PRESERVE_SIZES = 1684885619

Preserves the original sizes of the frame and the content. Note: Content that is larger than the frame is obscured around the edges.


Read Only

Number CONTENT_AWARE_FITTING = 1684882241

Selects best crop region of the content for the frame based on Adobe Sensei. Note: Preserves frame size but might scale the content size. If this fitting is set, centerImage property is turned-off.


Read Only

Number HONOUR_EXISTING_STYLE = 1684883539

Apply the frame fitting based on existing setting applied on the orginal frame.


Read Only

Number FILL_PROPORTIONAL = 1684883056

Resizes content to fill the frame while preserving content proportions. If the content and frame have different proportions, some content is obscured by the bounding box of the frame.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.