From a9702ad10fcf5735c0f2ecbaaa2eb8146e89c246 Mon Sep 17 00:00:00 2001 From: WangJiazhen Date: Tue, 26 Aug 2025 19:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9SDK=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: WangJiazhen --- api/@internal/component/ets/canvas.d.ts | 8 ++++---- api/@internal/component/ets/matrix2d.d.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/@internal/component/ets/canvas.d.ts b/api/@internal/component/ets/canvas.d.ts index 4b4b0e51b8..90b12f069d 100644 --- a/api/@internal/component/ets/canvas.d.ts +++ b/api/@internal/component/ets/canvas.d.ts @@ -1171,7 +1171,7 @@ declare class Path2D extends CanvasPath { /** * Create an empty path object. * - * @param { LengthMetricsUnit } [unit] - the unit mode + * @param { LengthMetricsUnit } unit - the unit mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form @@ -1222,7 +1222,7 @@ declare class Path2D extends CanvasPath { * Create a copy of a path object * * @param { Path2D } path - Path object to be copied - * @param { LengthMetricsUnit } [unit] - the unit mode + * @param { LengthMetricsUnit } unit - the unit mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form @@ -1273,7 +1273,7 @@ declare class Path2D extends CanvasPath { * Create a new path according to the description. * * @param { string } description - Indicates the path string that compiles with the SVG path description specifications. - * @param { LengthMetricsUnit } [unit] - the unit mode + * @param { LengthMetricsUnit } unit - the unit mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form @@ -6952,7 +6952,7 @@ declare class OffscreenCanvas { * * @param { number } width - Width of the off-screen canvas. * @param { number } height - Height of the off-screen canvas. - * @param { LengthMetricsUnit } [unit] - the unit mode + * @param { LengthMetricsUnit } unit - the unit mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form diff --git a/api/@internal/component/ets/matrix2d.d.ts b/api/@internal/component/ets/matrix2d.d.ts index a0378005cc..f15e0639ab 100644 --- a/api/@internal/component/ets/matrix2d.d.ts +++ b/api/@internal/component/ets/matrix2d.d.ts @@ -544,7 +544,7 @@ declare class Matrix2D { /** * Constructs a 2D change matrix object. The default value is the unit matrix. * - * @param { LengthMetricsUnit } [unit] - the unit mode + * @param { LengthMetricsUnit } unit - the unit mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form -- Gitee