/ fm / liveswitch / LayoutScale
Enumeration: LayoutScale
fm.liveswitch.LayoutScale
Specifies how an element should be scaled within a layout.
Table of contents
Enumeration members
Enumeration members
Contain
• Contain: = 1
Indicates that the element should be uniformly scaled (maintaining aspect ratio) to the largest size such that both its width and its height can fit inside its bounding box.
Defined in: Generated/TypeScript/fm.liveswitch/LayoutScale.ts:17
Cover
• Cover: = 2
Indicates that the element should be uniformly scaled (maintaining aspect ratio) to be as large as possible so that the bounding box is completely covered. Some parts of the element may not be in view (cropped).
Defined in: Generated/TypeScript/fm.liveswitch/LayoutScale.ts:26
Stretch
• Stretch: = 3
Indicates that the element should be non-uniformly scaled (not maintaining aspect ratio) so that the bounding box is completely covered, but all parts of the element are in view (no cropping).
Defined in: Generated/TypeScript/fm.liveswitch/LayoutScale.ts:35