Skip to main content

OH_Drawing_SetTypographyTextLineStyleOnly

Function OH_Drawing_SetTypographyTextLineStyleOnly 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextLineStyleOnly(
    style: *mut OH_Drawing_TypographyStyle,
    lineStyleOnly: bool,
)
Expand description

@brief Sets whether to enable the text line style only.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @param lineStyleOnly Whether to enable the line style only. true means yes; false otherwise. @since 12 @version 1.0