Skip to main content

OH_Drawing_SetTypographyTextAlign

Function OH_Drawing_SetTypographyTextAlign 

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

@brief Text alignment mode.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TypographyStyle} object, which is obtained from {@link OH_Drawing_CreateTypographyStyle}. @param align Text alignment mode. For details about the available options, see {@link OH_Drawing_TextAlign}. @since 8 @version 1.0