Thème
Superviseur — Frontend / components/ui/image-framing / fitScale
Fonction: fitScale()
ts
function fitScale(natural, box): number;Défini dans: components/ui/image-framing.ts:48
Échelle à laquelle l'image entière tient dans la boîte donnée.
Paramètres
| Paramètre | Type |
|---|---|
natural | Size |
box | Size |
Retourne
number