RAVDocsConfiguration
RAV

Configuration

Settings Panel

Settings panel showing runtime version picker, BG color, canvas sizing with AUTO/FIXED toggle, pixel dimensions with aspect lock, and About button

The Settings gear in the toolbar opens the configuration panel with:

  1. Runtime Ver — select Latest (auto), a pinned version, or Custom semver
  2. BG Color — canvas background color picker with NO BG reset
  3. Canvas Size — AUTO (fills viewport) or FIXED (explicit pixels)
  4. Pixels — width and height inputs with aspect-ratio LOCK
  5. About — opens the About window with build metadata and credits

For the script editor, supported config keys, APPLY behavior, internal vs editor live mode, and the window.riveInst surface, see Script Editor.

Renderer Selection

Choose between Canvas and WebGL2 in the toolbar. WebGL2 is recommended for vector feathering and complex animations.

Runtime Version

In Settings, choose Latest (auto), one of the latest four concrete versions, or Custom for manual semver input. The selected version is persisted per file and embedded in exports.

Layout

Fit and alignment are surfaced directly in the main toolbar:

FitBehavior
containFit entirely within canvas, preserving aspect ratio
coverFill canvas, cropping as needed
fillStretch to fill (may distort)
fitWidthMatch canvas width, overflow height
fitHeightMatch canvas height, overflow width
scaleDownOnly shrink if larger than canvas
noneNo scaling, original size
layoutRive layout mode

Canvas Sizing

In Settings, switch between AUTO (canvas fills the viewport) andFIXED (explicit pixel width and height). When fixed, an aspect-ratio lock keeps dimensions proportional while editing. Fixed sizes carry through to exports and snippets.