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 26c8e6e7099f4c783d92ed151007b2be73ef726b..89c409c66f6676a352de5c11090f7c784e4b96dd 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 **参数:**