Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff authored May 28, 2024
1 parent cefe1de commit 6daf87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const currentLoadProgress = sequence.loadProgress;
The `loadProgress` property returns a number between 0 and 1, representing the current load progress of the image
sequence. Note that the value can decrease if the sequence is played and new frames are loaded.

### getFrameImage(index: number): Promise<HTMLImageElement | ImageBitmap>
### getFrameImage(index: number): Promise<CanvasImageSource>

This method gets the image of a specific frame and returns a Promise that resolves with the image of the frame.

Expand Down

0 comments on commit 6daf87a

Please sign in to comment.