make
Deprecated
This method name is misleading; use fromEncoded instead
Replace with
fromEncoded(bytes, rendererType)Content copied to clipboard
Creates a RiveRenderImage by decoding the bytes.
The caller is in charge of the ownership of this NativeObject. It must be freed by calling release.
Return
The constructed RiveRenderImage.
Parameters
bytes
Encoded bytes for the image.
renderer Type
The renderer for this image. This must match the renderer for the RiveAnimationView using this.
Throws
if the bytes cannot be decoded.
if the decoded bitmap is not premultiplied.