Skip to main content

OH_Drawing_TextStyleGetForegroundPen

Function OH_Drawing_TextStyleGetForegroundPen 

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

@brief Obtains the foreground pen of a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param foregroundPen Pointer to the {@link OH_Drawing_Pen} object, which is obtained from {@link OH_Drawing_PenCreate}. @since 12 @version 1.0