feat:Remove Image's setImagePixels API

This commit is contained in:
pengfei.zhou
2021-11-30 16:20:07 +08:00
committed by osborn
parent 5b5500b6e0
commit e9e2d14a9d
10 changed files with 4 additions and 77 deletions

5
doric-js/index.d.ts vendored
View File

@@ -714,11 +714,6 @@ declare module 'doric/lib/src/widget/image' {
mimeType: string;
}>;
getImagePixels(context: BridgeContext): Promise<ArrayBuffer>;
setImagePixels(context: BridgeContext, imagePixels: {
width: number;
height: number;
pixels: ArrayBuffer;
}): Promise<void>;
toModel(): NativeViewModel;
}
export function image(config: Partial<Image>): Image;