Module drawable_descriptor

Module drawable_descriptor 

Source
Available on crate feature api-12 only.

Structs§

ArkUI_DrawableDescriptor
Defines the drawable descriptor.
OH_PixelmapNative

Functions§

OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap
Creates a DrawableDescriptor from a Pixelmap array.
OH_ArkUI_DrawableDescriptor_CreateFromPixelMap
Creates a DrawableDescriptor from a Pixelmap.
OH_ArkUI_DrawableDescriptor_Dispose
Destroys the pointer to the drawableDescriptor.
OH_ArkUI_DrawableDescriptor_GetAnimatedPixelMapArray
Obtains the Pixelmap array used to play the animation.
OH_ArkUI_DrawableDescriptor_GetAnimatedPixelMapArraySize
Obtains the size of the Pixelmap array used to play the animation.
OH_ArkUI_DrawableDescriptor_GetAnimationDuration
Obtains the total playback duration.
OH_ArkUI_DrawableDescriptor_GetAnimationIteration
Obtains the number of playback times.
OH_ArkUI_DrawableDescriptor_GetStaticPixelMap
Obtains the Pixelmap object.
OH_ArkUI_DrawableDescriptor_SetAnimationDuration
Sets the total playback duration.
OH_ArkUI_DrawableDescriptor_SetAnimationIteration
Sets the number of playback times.

Type Aliases§

OH_PixelmapNativeHandle
Defines the pointer to OH_PixelmapNative.