SpriteView component for mimicking animation with imageview
npm install @smartface/extension-spriteviewAn extension to make sprite animations with Smartface Native Framework.

```
npm i @smartface/extension-spriteview
1) Put the sprite sheet under the folder images on the Cloud IDE. `
2) Set the sheet to the SpriteView object as:javascript
import SpriteView from "sf-extension-spriteview";
const spriteView = new SpriteView();
spriteView.setSprite({
sheet: Image.createFromFile("images://braid.png"), // Image for the frame
frameX: 7, // Distinct image count on X axis
frameY: 4, // Distinct image count on Y axis
frameCount: 27 // Frame count of the image
});
```
3) Set the optional fields to the SpriteView as:javascript
import ImageView from "@smartface/native/ui/imageview";
spriteView.width = 100; // Width of the frame
spriteView.height = 125; // Height of the frame
spriteView.imageFillType = ImageView.FillType.ASPECTFIT; // Fill type of the frame
```
4) Finally you must make the sprite play by using:javascript`
spriteView.play(1000); // Transition speed of frames
Please submit an issue on GitHub and provide information about your problem.
This project is licensed under the terms of the MIT license. See the LICENSE file. Within the scope of this license, all modifications to the source code, regardless of the fact that it is used commercially or not, shall be committed as a contribution back to this repository.