diff --git a/api/@ohos.graphics.text.d.ts b/api/@ohos.graphics.text.d.ts index edaf344f7d730927357d90f5ef2d9aa4098d1b98..afd3a8209e467f261e10d69562bc1e931e1dbc43 100755 --- a/api/@ohos.graphics.text.d.ts +++ b/api/@ohos.graphics.text.d.ts @@ -1059,6 +1059,14 @@ declare namespace text { * @since 18 */ tab?: TextTab; + + /** + * Sets whether to trim excess whitespace at the end of each line for text typography. + * @type { ?boolean } it is boolean type data + * @syscap SystemCapability.Graphics.Drawing + * @since 20 + */ + trimLineEndSpace?: boolean; } /**