Skip to main content

OH_Drawing_SetTypographyTextBreakStrategy

Function OH_Drawing_SetTypographyTextBreakStrategy 

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

@brief Sets the text break strategy.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TypographyStyle} object, which is obtained from {@link OH_Drawing_CreateTypographyStyle}. @param breakStrategy Break strategy. For details about the available options, see {@link OH_Drawing_BreakStrategy}. @since 11 @version 1.0