mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2025-02-17 15:28:10 +00:00
text-shadow of Setting
Signed-off-by: changleipeng <changleipeng4@huawei.com > Change-Id: I6e9d759c1c9c3b1d21eb5f53a26f052f6cf12485
This commit is contained in:
parent
e28d721df3
commit
10a00bd9e5
@ -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
|
||||
|
@ -1269,5 +1269,9 @@
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name":"OH_Drawing_TypographyStyleEquals"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name":"OH_Drawing_SetTextShadow"
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user