Skip to main content

OH_Drawing_TypographyHandlerPushTextStyle

Function OH_Drawing_TypographyHandlerPushTextStyle 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyHandlerPushTextStyle(
    handler: *mut OH_Drawing_TypographyCreate,
    style: *mut OH_Drawing_TextStyle,
)
Expand description

@brief Pushes a text style into the text style stack. Any text added afterward will use the style currently on top of the stack.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param handler Pointer to the {@link OH_Drawing_TypographyCreate} object, which is obtained from {@link OH_Drawing_CreateTypographyHandler}. @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @since 8 @version 1.0