From 33adb08a545169098d9b15afa3e96d83bba42184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E9=9B=A8?= Date: Thu, 10 Aug 2023 11:00:15 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-matrix4.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 田雨 --- .../reference/apis/js-apis-matrix4.md | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-matrix4.md b/zh-cn/application-dev/reference/apis/js-apis-matrix4.md index 26c8e6e709..89c409c66f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-matrix4.md +++ b/zh-cn/application-dev/reference/apis/js-apis-matrix4.md @@ -170,14 +170,12 @@ struct Test { ![zh-cn_image_0000001219744181](figures/zh-cn_image_0000001219744181.png) -## matrix4.invert(deprecated) +## matrix4.invert invert(): Matrix4Transit Matrix的逆函数,可以返回一个当前矩阵对象的逆矩阵,即效果正好相反。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **返回值:** @@ -186,14 +184,12 @@ Matrix的逆函数,可以返回一个当前矩阵对象的逆矩阵,即效 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.combine(deprecated) +## matrix4.combine combine(options: Matrix4Transit): Matrix4Transit Matrix的叠加函数,可以将两个矩阵的效果叠加起来生成一个新的矩阵对象。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -208,14 +204,12 @@ Matrix的叠加函数,可以将两个矩阵的效果叠加起来生成一个 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.translate(deprecated) +## matrix4.translate translate(options: TranslateOption): Matrix4Transit Matrix的平移函数,可以为当前矩阵增加x轴/y轴/z轴平移效果。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -230,14 +224,12 @@ Matrix的平移函数,可以为当前矩阵增加x轴/y轴/z轴平移效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.scale(deprecated) +## matrix4.scale scale(options: ScaleOption): Matrix4Transit Matrix的缩放函数,可以为当前矩阵增加x轴/y轴/z轴缩放效果。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -252,14 +244,12 @@ Matrix的缩放函数,可以为当前矩阵增加x轴/y轴/z轴缩放效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.rotate(deprecated) +## matrix4.rotate rotate(options: RotateOption): Matrix4Transit Matrix的旋转函数,可以为当前矩阵增加x轴/y轴/z轴旋转效果。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -274,14 +264,12 @@ Matrix的旋转函数,可以为当前矩阵增加x轴/y轴/z轴旋转效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.transformPoint(deprecated) +## matrix4.transformPoint transformPoint(options: [number, number]): [number, number] Matrix的坐标点转换函数,可以将当前的变换效果作用到一个坐标点上。 -该接口从Api 10开始废弃。 - **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** -- GitLab