Lines Matching refs:DrawableDescriptor
1 # @ohos.arkui.drawableDescriptor (DrawableDescriptor)
3 The **DrawableDescriptor** module provides APIs for obtaining **pixelMap** objects, including the f…
14 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI';
17 ## DrawableDescriptor section
39 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
41 let pixmap: DrawableDescriptor = (resManager.getDrawableDescriptor($r('app.media.icon')
42 .id)) as DrawableDescriptor;
46 Creates a **DrawableDescriptor** object when the passed resource ID or name belongs to a common ima…
50 …can be created by passing in a **pixelMap** object. Inherits from [DrawableDescriptor](#drawablede…
71 … that contains foreground and background resources. Inherits from [DrawableDescriptor](#drawablede…
91 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
112 …import { DrawableDescriptor, LayeredDrawableDescriptor, PixelMapDrawableDescriptor } from '@kit.Ar…
121 @State foregroundDraw:DrawableDescriptor|undefined=undefined
122 @State backgroundDraw:DrawableDescriptor|undefined=undefined
123 @State maskDraw:DrawableDescriptor|undefined=undefined
164 getForeground(): DrawableDescriptor;
166 Obtains the **DrawableDescriptor** object of the foreground.
176 | [DrawableDescriptor](#drawabledescriptor) | **DrawableDescriptor** object.|
180 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
189 getBackground(): DrawableDescriptor;
191 Obtains the **DrawableDescriptor** object of the background.
201 | [DrawableDescriptor](#drawabledescriptor) | **DrawableDescriptor** object.|
205 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
214 getMask(): DrawableDescriptor
216 Obtains the **DrawableDescriptor** object of the mask.
226 | [DrawableDescriptor](#drawabledescriptor) | **DrawableDescriptor** object.|
230 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
256 import { DrawableDescriptor, LayeredDrawableDescriptor } from '@kit.ArkUI'
305 …omponent is used to play the pixel map image array. Inherits from [DrawableDescriptor](#drawablede…