Bitmap.onLoaded

機能/意味
Asynchronous read completed
タイプ
Bitmapクラスのイベント
構文
onLoaded(meta, async, error, message)
引数
meta  Tag information of the loaded image.
async  Whether it was read asynchronously.
 If the image data is in the cache, this event occurs during Bitmap.loadAsync execution.
error  Whether an error occurred during image reading.
message  This is the error message.
 If an error occurs, an error message is passed.
説明
 Occurs when asynchronous read has completed.
 The loaded image can be copied to Layer with Layer.copyFromBitmapToMainImage.
 Since the reading process is asynchronous, when the reading is completed, the layer that passes the image may have been invalidated.
 If you want to access other objects in this event, make sure that they are not invalidated.
 Or make sure that the target object is not invalidated until this event is completed.
参照
Bitmap.loadAsync
Layer.copyFromBitmapToMainImage