Classes
Methods
export() → {Array}
Exports this frame's data into proper vyi format.
Returns:
- Type:
-
Array
An array of data related to this frame in the proper vyi format.
getDataURL() → {DataURL}
Gets the data URL of this frame.
Returns:
- Type:
-
DataURL
- The base64 data of this image.
getDelay() → {number}
Gets the delay of this frame.
Returns:
- Type:
-
number
The delay of this frame.
getHeight() → {number}
Gets the height of the frame.
Returns:
- Type:
-
number
The height of the frame.
getIndex() → {number}
Gets the index of this frame.
Returns:
- Type:
-
number
The index of this frame.
getParent() → {Icon}
Gets the icon this frame belongs to.
getSize() → {Object}
Gets the width and height of this frame and returns it.
Returns:
- Type:
-
Object
An object with the width and height of this frame.
getVyi() → {VYI}
Gets the vyi this frame belongs to.
getWidth() → {number}
Gets the width of the frame.
Returns:
- Type:
-
number
The width of the frame.
setDataURL(pDataURL) → {self}
Sets the data url of this frame.
Parameters:
Name | Type | Description |
---|---|---|
pDataURL |
DataURL
|
The base64 data of this image. |
Returns:
- Type:
-
self
This frame instance.