Variable: imagePlacementStrategy
constimagePlacementStrategy:Record<ImagePlacementStrategyType,CalculatePosition>
Defined in: src/state/placementStrategy/imagePlacementStrategy.ts:24
Param
Position the image in the center of the target (or at explicitly specified coordinates) at 50% of the width or height of the target
Param
Position the source item such that it fits the target width or/and height, scales the item while maintaining the aspect ratio
Param
Position the item such that it covers the entire available target area, allowing it to overflow in the process
Param
Position the source item so that it covers all available space, cropping to keep the item within the bounds