resetArtboardSize

Resets this artboard to its original dimensions.

ℹ️ This should be called if the artboard was previously resized with resizeArtboard and you now want to draw with a fit type other than Fit.Layout, to restore the artboard to its original size.

⚠️ In order for this to take effect, the state machine associated to this artboard must be advanced, even if just by 0.

Throws

If the Rive worker has been released.