diff --git a/api/@internal/component/ets/canvas.d.ts b/api/@internal/component/ets/canvas.d.ts index 4b4b0e51b8f48a066f0c94cfb38effa6fc56bb5d..90b12f069d91be1d462f9c4b37ca3f0c1b661152 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 a0378005cc60e1bfdce048b0084f3a15ad0d3d25..f15e0639ab8e8cef3008046968a67d8701ca7dfe 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