From 491c8d6358b3dccbd1ca7b5562dc3a2777a7cfea Mon Sep 17 00:00:00 2001 From: 06wj <06wj@163.com> Date: Wed, 17 Apr 2019 17:51:27 +0800 Subject: [PATCH] docs: update bitmap doc --- docs/api-en/code/view/Bitmap.js | 2 +- docs/api-en/symbols/Bitmap.html | 8 ++++---- .../symbols/src/docs_api-en_code_view_Bitmap.js.html | 2 +- docs/api-zh/code/view/Bitmap.js | 2 +- docs/api-zh/symbols/Bitmap.html | 8 ++++---- .../symbols/src/docs_api-zh_code_view_Bitmap.js.html | 2 +- src/view/Bitmap.js | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/api-en/code/view/Bitmap.js b/docs/api-en/code/view/Bitmap.js index 72cee7d0..935724b0 100644 --- a/docs/api-en/code/view/Bitmap.js +++ b/docs/api-en/code/view/Bitmap.js @@ -49,7 +49,7 @@ * set the image。 * @param {Image|String} Image Object or URL. * @param {Array} rect the range of bitmap in the image, option. - * @param {Boolean} Whether cross-domain is needed, default is false. + * @param {Boolean} crossOrigin Whether cross-domain is needed, default is false. * @returns {Bitmap} self。 */ setImage: function(image, rect, crossOrigin){ diff --git a/docs/api-en/symbols/Bitmap.html b/docs/api-en/symbols/Bitmap.html index 76a9ca31..4d15ac1f 100644 --- a/docs/api-en/symbols/Bitmap.html +++ b/docs/api-en/symbols/Bitmap.html @@ -786,7 +786,7 @@

Methods

-
setImage(Image:Image|String, rect:Array, Whether:Boolean):Bitmap +
setImage(Image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
@@ -1099,7 +1099,7 @@

Constructor

- setImage(Image:Image|String, rect:Array, Whether:Boolean):Bitmap + setImage(Image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
set the image。
@@ -1120,8 +1120,8 @@

Constructor

- Whether:Boolean - — cross-domain is needed, default is false. + crossOrigin:Boolean + — Whether cross-domain is needed, default is false.
diff --git a/docs/api-en/symbols/src/docs_api-en_code_view_Bitmap.js.html b/docs/api-en/symbols/src/docs_api-en_code_view_Bitmap.js.html index 0fac4dbe..c3233088 100644 --- a/docs/api-en/symbols/src/docs_api-en_code_view_Bitmap.js.html +++ b/docs/api-en/symbols/src/docs_api-en_code_view_Bitmap.js.html @@ -56,7 +56,7 @@ 49 * set the image。 50 * @param {Image|String} Image Object or URL. 51 * @param {Array} rect the range of bitmap in the image, option. - 52 * @param {Boolean} Whether cross-domain is needed, default is false. + 52 * @param {Boolean} crossOrigin Whether cross-domain is needed, default is false. 53 * @returns {Bitmap} self。 54 */ 55 setImage: function(image, rect, crossOrigin){ diff --git a/docs/api-zh/code/view/Bitmap.js b/docs/api-zh/code/view/Bitmap.js index 899ce8c3..b3e02b17 100644 --- a/docs/api-zh/code/view/Bitmap.js +++ b/docs/api-zh/code/view/Bitmap.js @@ -49,7 +49,7 @@ * 设置位图的图片。 * @param {Image|String} image 图片对象或地址。 * @param {Array} rect 指定位图在图片image的矩形区域。可选。 - * @param {Boolean} 是否设置 crossOrigin,默认否。 + * @param {Boolean} crossOrigin 是否设置 crossOrigin,默认否。 * @returns {Bitmap} 位图本身。 */ setImage: function(image, rect, crossOrigin){ diff --git a/docs/api-zh/symbols/Bitmap.html b/docs/api-zh/symbols/Bitmap.html index 047ed7c5..6cdd6062 100644 --- a/docs/api-zh/symbols/Bitmap.html +++ b/docs/api-zh/symbols/Bitmap.html @@ -787,7 +787,7 @@

方法概览

-
setImage(image:Image|String, rect:Array, 是否设置:Boolean):Bitmap +
setImage(image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
@@ -1100,7 +1100,7 @@

构造函数

- setImage(image:Image|String, rect:Array, 是否设置:Boolean):Bitmap + setImage(image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
设置位图的图片。
@@ -1121,8 +1121,8 @@

构造函数

- 是否设置:Boolean - — crossOrigin,默认否。 + crossOrigin:Boolean + — 是否设置 crossOrigin,默认否。
diff --git a/docs/api-zh/symbols/src/docs_api-zh_code_view_Bitmap.js.html b/docs/api-zh/symbols/src/docs_api-zh_code_view_Bitmap.js.html index e63e04ef..ff32d5ff 100644 --- a/docs/api-zh/symbols/src/docs_api-zh_code_view_Bitmap.js.html +++ b/docs/api-zh/symbols/src/docs_api-zh_code_view_Bitmap.js.html @@ -56,7 +56,7 @@ 49 * 设置位图的图片。 50 * @param {Image|String} image 图片对象或地址。 51 * @param {Array} rect 指定位图在图片image的矩形区域。可选。 - 52 * @param {Boolean} 是否设置 crossOrigin,默认否。 + 52 * @param {Boolean} crossOrigin 是否设置 crossOrigin,默认否。 53 * @returns {Bitmap} 位图本身。 54 */ 55 setImage: function(image, rect, crossOrigin){ diff --git a/src/view/Bitmap.js b/src/view/Bitmap.js index 83e77525..e7babaf6 100644 --- a/src/view/Bitmap.js +++ b/src/view/Bitmap.js @@ -74,7 +74,7 @@ * set the image。 * @param {Image|String} Image Object or URL. * @param {Array} rect the range of bitmap in the image, option. - * @param {Boolean} Whether cross-domain is needed, default is false. + * @param {Boolean} crossOrigin Whether cross-domain is needed, default is false. * @returns {Bitmap} self。 */ /** @@ -82,7 +82,7 @@ * 设置位图的图片。 * @param {Image|String} image 图片对象或地址。 * @param {Array} rect 指定位图在图片image的矩形区域。可选。 - * @param {Boolean} 是否设置 crossOrigin,默认否。 + * @param {Boolean} crossOrigin 是否设置 crossOrigin,默认否。 * @returns {Bitmap} 位图本身。 */ setImage: function(image, rect, crossOrigin){