OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap

Function OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap 

Source
pub unsafe extern "C" fn OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap(
    array: *mut OH_PixelmapNativeHandle,
    size: i32,
) -> *mut ArkUI_DrawableDescriptor
Available on crate feature api-12 only.
Expand description

Creates a DrawableDescriptor from a Pixelmap array.

§Arguments

  • array - Indicates the pointer to a Pixelmap array.

  • size - Indicates the size of the Pixelmap array.

§Returns

  • Returns the pointer to the drawableDescriptor.

Available since API-level: 12