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 ffa6744c2bdfc223fe56545034f8cfbdfb8b06db..9cd9ee889ea6dd9f31f196fbe6ed37fb73e6320d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-matrix4.md +++ b/zh-cn/application-dev/reference/apis/js-apis-matrix4.md @@ -171,12 +171,14 @@ struct Test { ![zh-cn_image_0000001219744181](figures/zh-cn_image_0000001219744181.png) -## matrix4.invert +## matrix4.invert(deprecated) invert(): Matrix4Transit Matrix的逆函数,可以返回一个当前矩阵对象的逆矩阵,即效果正好相反。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **返回值:** @@ -185,12 +187,14 @@ Matrix的逆函数,可以返回一个当前矩阵对象的逆矩阵,即效 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.combine +## matrix4.combine(deprecated) combine(options: Matrix4Transit): Matrix4Transit Matrix的叠加函数,可以将两个矩阵的效果叠加起来生成一个新的矩阵对象。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -205,12 +209,14 @@ Matrix的叠加函数,可以将两个矩阵的效果叠加起来生成一个 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.translate +## matrix4.translate(deprecated) translate(options: TranslateOption): Matrix4Transit Matrix的平移函数,可以为当前矩阵增加x轴/y轴/z轴平移效果。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -225,12 +231,14 @@ Matrix的平移函数,可以为当前矩阵增加x轴/y轴/z轴平移效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.scale +## matrix4.scale(deprecated) scale(options: ScaleOption): Matrix4Transit Matrix的缩放函数,可以为当前矩阵增加x轴/y轴/z轴缩放效果。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -245,12 +253,14 @@ Matrix的缩放函数,可以为当前矩阵增加x轴/y轴/z轴缩放效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.rotate +## matrix4.rotate(deprecated) rotate(options: RotateOption): Matrix4Transit Matrix的旋转函数,可以为当前矩阵增加x轴/y轴/z轴旋转效果。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:** @@ -265,12 +275,14 @@ Matrix的旋转函数,可以为当前矩阵增加x轴/y轴/z轴旋转效果。 | --------------------------------- | ---------------------- | | [Matrix4Transit](#matrix4transit) | 当前矩阵的逆矩阵对象。 | -## matrix4.transformPoint +## matrix4.transformPoint(deprecated) transformPoint(options: [number, number]): [number, number] Matrix的坐标点转换函数,可以将当前的变换效果作用到一个坐标点上。 +该接口从Api 10开始废弃。 + **系统能力:** SystemCapability.ArkUI.ArkUI.Full **参数:**