Skip to main content

OH_Drawing_TypographyTextSetHeightBehavior

Function OH_Drawing_TypographyTextSetHeightBehavior 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyTextSetHeightBehavior(
    style: *mut OH_Drawing_TypographyStyle,
    heightMode: OH_Drawing_TextHeightBehavior,
)
Expand description

@brief Sets a text height modifier pattern.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TypographyStyle} object, which is obtained from {@link OH_Drawing_CreateTypographyStyle}. @param heightMode Text height modifier mode. The value is an enumerated value of the {@link OH_Drawing_TextHeightBehavior} type. @since 12 @version 1.0