Skip to main content

OH_Drawing_SetTextStyleColor

Function OH_Drawing_SetTextStyleColor 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleColor(
    style: *mut OH_Drawing_TextStyle,
    color: u32,
)
Expand description

@brief Sets the text color.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @param color Indicates the color to set. @since 8 @version 1.0