Skip to main content

OH_Drawing_FontSetEdging

Function OH_Drawing_FontSetEdging 

Source
pub unsafe extern "C" fn OH_Drawing_FontSetEdging(
    font: *mut OH_Drawing_Font,
    fontEdging: OH_Drawing_FontEdging,
)
Expand description

@brief Sets a font edging effect. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If font is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned. If fontEdging is not set to one of the enumerated values, OH_DRAWING_ERROR_PARAMETER_OUT_OF_RANGE is returned.

@param font Pointer to the {@link OH_Drawing_Font} object. @param fontEdging Font edging effect. @since 12 @version 1.0