adaptive-scale
v1.0.0
Published
This small library can scale any size according to other size.
Downloads
290
Maintainers
Readme
Adaptive Scale
This small library can scale any size according to other size with multiple scale policies.
Currently Supported Scale Policies
- ExactFit - Fill the container size. Aspect ratio not preserved. No Borders. Can't Crop.
- NoBorder - Fill the container size. Aspect ratio preserved. No Borders. Can Crop.
- FullHeight - Fill the container height. Aspect ratio preserved. Vertical Borders. Can Crop.
- FullWidth - Fill the container width. Aspect ratio preserved. Horizontal Borders. Can Crop.
- ShowAll - Fill the container width or height. Aspect ratio preserved. Vertical or Horizontal Borders. Can't Crop.
Usage
TODO