Skip to main content

OH_Drawing_TypographyStyleGetEffectiveAlignment

Function OH_Drawing_TypographyStyleGetEffectiveAlignment 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyStyleGetEffectiveAlignment(
    style: *mut OH_Drawing_TypographyStyle,
) -> OH_Drawing_TextAlign
Expand description

@brief Obtains the 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}. @return Text alignment modes as in {@link OH_Drawing_TextAlign}. @since 12 @version 1.0