Skip to main content

OH_Drawing_TextStyleGetBaseline

Function OH_Drawing_TextStyleGetBaseline 

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

@brief Obtains the baseline of a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @return Font baseline position. For details, see {@link OH_Drawing_TextBaseline}. @since 12 @version 1.0