text-shadow of Setting

Signed-off-by: changleipeng <changleipeng4@huawei.com >
Change-Id: I6e9d759c1c9c3b1d21eb5f53a26f052f6cf12485
This commit is contained in:
changleipeng 2024-05-09 17:33:07 +08:00
parent e28d721df3
commit 10a00bd9e5
2 changed files with 18 additions and 0 deletions

View File

@ -2699,6 +2699,20 @@ void OH_Drawing_TypographyDestroyEllipsis(char* ellipsis);
*/
bool OH_Drawing_TypographyStyleEquals(OH_Drawing_TypographyStyle* from, OH_Drawing_TypographyStyle* to);
/**
* @brief Resetting original parameter of text-shadow.
*
* @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing
* @param OH_Drawing_TextShadow The original hand form text-shadow.
* @param color The color-paramter is already dealt by function of OH_Drawing_ColorSetArgb.
* @param OH_Drawing_Point Hope the offset value of text-shadow.
* @param blurRadius Expectation radius value of blur.
* @since 12
* @version 1.0
*/
void OH_Drawing_SetTextShadow(OH_Drawing_TextShadow* shadow, uint32_t color, OH_Drawing_Point* offset,
double blurRadius);
#ifdef __cplusplus
}
#endif

View File

@ -1269,5 +1269,9 @@
{
"first_introduced": "12",
"name":"OH_Drawing_TypographyStyleEquals"
},
{
"first_introduced": "12",
"name":"OH_Drawing_SetTextShadow"
}
]