From fbbe9a0f0e036906d004f98a2b5a880d8246cc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=85=B3=E9=B9=8F?= Date: Wed, 6 Sep 2023 07:08:05 +0000 Subject: [PATCH] update zh-cn/application-dev/media/image-transformation-native.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘关鹏 --- zh-cn/application-dev/media/image-transformation-native.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/media/image-transformation-native.md b/zh-cn/application-dev/media/image-transformation-native.md index 475d90d8fc..dde48f8602 100644 --- a/zh-cn/application-dev/media/image-transformation-native.md +++ b/zh-cn/application-dev/media/image-transformation-native.md @@ -118,7 +118,7 @@ .fontWeight(FontWeight.Bold) .onClick(() => { const color : ArrayBuffer = new ArrayBuffer(96); - let opts : image.InitializationOptions = { alphaType: 0, editable: true, pixelFormat: 4, scaleMode: 1, size: { height: 4, width: 6 } } + let opts: image.InitializationOptions = { alphaType: 0, editable: true, pixelFormat: 4, scaleMode: 1, size: { height: 4, width: 6 } } image.createPixelMap(color, opts) .then( (pixelmap : image.PixelMap) => { this._PixelMap = pixelmap; -- GitLab