CIRCUMFERENCE

const
Components

SVG circle circumference (2π × MAGIC_RADIUS) used by OrigamProgress circular mode to compute stroke-dasharray and stroke-dashoffset for the progress arc.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamProgress

Usage

Examples

Ready-to-paste code snippets using this constant.

Computing stroke-dashoffset from a percentage

typescript