Skip to main content

OH_Drawing_TypographyGetTextStyle

Function OH_Drawing_TypographyGetTextStyle 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyGetTextStyle(
    style: *mut OH_Drawing_TypographyStyle,
) -> *mut OH_Drawing_TextStyle
Expand description

@brief Obtains the default text style of a typography style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TypographyStyle} object, which is obtained from {@link OH_Drawing_CreateTypographyStyle}. @return Pointer to the {@link OH_Drawing_TextStyle} object. Release this pointer by calling {@link OH_Drawing_DestroyTextStyle} when this object is no longer needed. @since 12 @version 1.0