Abstract
Protected
_nativeAbstract
loopGets/Sets the loopCount of gifImage. This property is readonly on iOS.
3.2.0
Abstract
frameGets/Sets the frameCount of gifImage.
3.2.0
Abstract
posterGets/Sets the posterImage of gifImage.
3.2.0
Abstract
instrinsicStatic
androidStatic
iosProtected
preProtected
addProtected
addIOSPropsStatic
createCreates an gifImage object from given a blob.
createFromBlob
UI.GifImage
3.2.0
Contains gif datas.
Static
createCreates an GifImage instance from given file path. GifImage's file should not be in images folder. You can use assets folder.
import GifImage from '@smartface/native/ui/gifimage';
const myGifImage = GifImage.createFromFile("assets://smartface.gif");
createFromFile
An GifImage instance.
3.2.0
GifImage file path
Optional
width: numberOptional
height: numberAbstract
toReturns a Blob instance.
3.2.0
Protected
Abstract
createGenerated using TypeDoc
Gets/Sets the loopCount of gifImage. This property is readonly on iOS.
Android
Ios
Since
3.2.0