Skip to main content

delay_ms

Function delay_ms 

Source
pub fn delay_ms(unclamped: Option<f64>, clamped: Option<f64>) -> u32
Expand description

A frame’s delay in milliseconds from its ImageIO properties: the unclamped delay when the file gives one, else the clamped one, in seconds. Browsers’ rule for tiny delays is applied by the player.