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 Sets the text alignment mode.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TypographyStyle object. @param align Indicates the text alignment mode to set. For details, see the enum OH_Drawing_TextAlign. @since 8 @version 1.0