Skip to main content

OH_Drawing_SetTypographyTextDirection

Function OH_Drawing_SetTypographyTextDirection 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextDirection(
    style: *mut OH_Drawing_TypographyStyle,
    direction: c_int,
)
Expand description

@brief Sets the text direction 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}. @param direction Text direction. For details about the available options, see {@link OH_Drawing_TextDirection}. @since 8 @version 1.0