Skip to content

fix_frames

fix_frames(frames, x_min?, x_max?, pad?): any[]

Defined in: packages/pleco-xa/src/scripts/xa-util.js:1399

Fix a list of frames to lie within [x_min, x_max]

any[]

Frame indices to fix

number = 0

Minimum allowed frame index (default: 0)

number = null

Maximum allowed frame index (default: null, no upper bound)

boolean = true

If true, pad to ensure coverage of [x_min, x_max] (default: true)

any[]

Fixed frame indices