diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index da0a2e01d1e27b6c9f900b840bd40ae0486e104f..da5c53dbe4562e319e4586e491e594c0c0abdaf9 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -891,6 +891,16 @@ declare type RectHeightStyle = import('../api/@ohos.graphics.text').default.Rect */ declare type TextBox = import('../api/@ohos.graphics.text').default.TextBox; +/** + * The Paragraph type provide detailed information about a paragraph, + * including properties such as line count, line height and other relevant metrics. + * + * @typedef { import('../api/@ohos.graphics.text').default.Paragraph } Paragraph + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ +declare type Paragraph = import('../api/@ohos.graphics.text').default.Paragraph; + /** * Defines the cursor style *