Skip to main content

OH_Drawing_SetTextStyleForegroundPen

Function OH_Drawing_SetTextStyleForegroundPen 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleForegroundPen(
    style: *mut OH_Drawing_TextStyle,
    foregroundPen: *mut OH_Drawing_Pen,
)
Expand description

@brief Sets the foreground pen style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a text style object OH_Drawing_TextStyle. @param foregroundPen Indicates the pointer to a pen object OH_Drawing_Pen. @since 12 @version 1.0