harmony 鸿蒙@ohos.arkui.drawableDescriptor (DrawableDescriptor) (System API)
@ohos.arkui.drawableDescriptor (DrawableDescriptor) (System API)
The DrawableDescriptor module provides APIs for obtaining pixelMap objects, including the foreground, background, mask, and layered icons.
NOTE
The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
You can preview how this component looks on a real device, but not in DevEco Studio Previewer.
This topic describes only system APIs provided by the module. For details about its public APIs, see @ohos.arkui.drawableDescriptor (DrawableDescriptor).
Modules to Import
import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI';
DrawableDescriptor
constructor
constructor()
Creates a DrawableDescriptor or LayeredDrawableDescriptor object. The getDrawableDescriptor or getDrawableDescriptorByName API is required for object construction.
System API: This is a system API.
System capability: SystemCapability.ArkUI.ArkUI.Full
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent
harmony 鸿蒙ARKUI_TextPickerRangeContent
harmony 鸿蒙ArkUI_AnimateCompleteCallback
harmony 鸿蒙ArkUI_ContextCallback
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦