MAGIC_RADIUS
const
Layout & Sizing
Radius (in SVG user units) of the circle path used by OrigamProgress circular mode. The value 20 is chosen so that CIRCUMFERENCE = 2π×20 ≈ 125.66, which maps cleanly to a 0–100 stroke-dashoffset range.
TypeScript
Définition
La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Valeur résolue
Écosystème
Utilisé par
Composables et composants qui consomment cette constante.
OrigamProgress
Usage
Exemples
Extraits de code prêts à coller utilisant cette constante.
Computing the SVG circle circumference