Skip to main content

OH_Drawing_TypographyTextlineStyleGetFontStyle

Function OH_Drawing_TypographyTextlineStyleGetFontStyle 

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

@brief Obtains the font style of the strut style in 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 Font style of the strut style in a typography style. 1 indicates italic, and 0 or others indicate non-italic. For details, see the {@link OH_Drawing_FontStyle} enumeration. @since 12 @version 1.0