From ac45d9ddd7cb421909ad96fa886168f54610d747 Mon Sep 17 00:00:00 2001 From: chenyuhuai Date: Thu, 23 Jun 2022 15:57:33 +0800 Subject: [PATCH] add component material ability Signed-off-by: chenyuhuai --- api/@internal/component/ets/common.d.ts | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index e05c939d91..058cc85a1a 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -666,6 +666,30 @@ declare enum SourceType { TouchScreen, } +/** + * enum Blur style + * @since 9 + */ + declare enum BlurStyle { + /** + * Defines the fuzzy scale. + * @since 9 + */ + Thin, + + /** + * Defines the fuzzy scale. + * @since 9 + */ + Regular, + + /** + * Defines the fuzzy scale. + * @since 9 + */ + Thick, +} + /** * Defines the base event. * @since 8 @@ -1171,6 +1195,13 @@ declare class CommonMethod { */ backgroundImagePosition(value: Position | Alignment): T; + /** + * Background blur style. + * blurStyle:Blur style type. + * @since 9 + */ + backgroundBlurStyle(value: BlurStyle): T; + /** * Opacity * @since 7 -- Gitee