Skip to main content

OH_Drawing_SetTextStyleForegroundBrush

Function OH_Drawing_SetTextStyleForegroundBrush 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleForegroundBrush(
    style: *mut OH_Drawing_TextStyle,
    foregroundBrush: *mut OH_Drawing_Brush,
)
Expand description

@brief Sets the foreground brush style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a text style object OH_Drawing_TextStyle. @param foregroundBrush Indicates the pointer to a brush object OH_Drawing_Brush. @since 12 @version 1.0