From bb5e6c5cea2ea6724a0af1055c0f9fd15a36e54a Mon Sep 17 00:00:00 2001 From: wangweiyuan Date: Wed, 11 Jun 2025 22:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9F=BA=E7=A1=80=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E3=80=91SymbolGlyph=E6=94=AF=E6=8C=81=E9=98=B4=E5=BD=B1?= =?UTF-8?q?=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangweiyuan --- api/@internal/component/ets/symbolglyph.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/api/@internal/component/ets/symbolglyph.d.ts b/api/@internal/component/ets/symbolglyph.d.ts index 3d9edfd394..a672243c40 100644 --- a/api/@internal/component/ets/symbolglyph.d.ts +++ b/api/@internal/component/ets/symbolglyph.d.ts @@ -1198,6 +1198,22 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @since 20 */ maxFontScale(scale: Optional): SymbolGlyphAttribute; + + /** + * Set the shadow of symbol. + * + *

NOTE: + *
This API does not work with the fill attribute, showType attribute or coloring strategy. + *

+ * + * @param { Optional } shadow - The shadow options. + * @returns { SymbolGlyphAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @form + * @atomicservice + * @since 20 + */ + symbolShadow(shadow: Optional): SymbolGlyphAttribute; } /** -- Gitee