diff --git a/graphic/graphic_2d/native_drawing/drawing_path.h b/graphic/graphic_2d/native_drawing/drawing_path.h index 1f4e18a2f17b7c4730a780a539dd4665a6de7a2d..894e4def40f4edfb89e226ae66d2f2ec8145ef08 100644 --- a/graphic/graphic_2d/native_drawing/drawing_path.h +++ b/graphic/graphic_2d/native_drawing/drawing_path.h @@ -775,7 +775,7 @@ bool OH_Drawing_PathGetMatrix(OH_Drawing_Path* path, bool forceClosed, * @param count Returns with the size of array. * @return Returns the error code. * Returns {@link OH_DRAWING_SUCCESS} if the operation is successful. - * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if path, vals or count is nullptr, or acceptableError is + * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if path or count is nullptr, or acceptableError is * less than 0. * @since 20 * @version 1.0 @@ -795,7 +795,7 @@ OH_Drawing_ErrorCode OH_Drawing_PathApproximate(OH_Drawing_Path* path, float acc * @param interpolatedPath Indicates the pointer to an OH_Drawing_Path object to store the result. * @return Returns the error code. * Returns {@link OH_DRAWING_SUCCESS} if the operation is successful. - * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if eiter path, other, success or interpolatedPath is + * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if either path, other, success or interpolatedPath is * nullptr, or weight is outside the range [0, 1]. * @since 20 * @version 1.0 @@ -815,7 +815,7 @@ OH_Drawing_ErrorCode OH_Drawing_PathInterpolate(OH_Drawing_Path* path, OH_Drawin * The value is true if the paths are compatible, and false otherwise. * @return Returns the error code. * Returns {@link OH_DRAWING_SUCCESS} if the operation is successful. - * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if eiter path, other or result is nullptr. + * Returns {@link OH_DRAWING_ERROR_INVALID_PARAMETER} if either path, other or result is nullptr. * @since 20 * @version 1.0 */