Skip to main content

OH_Drawing_PenSetPathEffect

Function OH_Drawing_PenSetPathEffect 

Source
pub unsafe extern "C" fn OH_Drawing_PenSetPathEffect(
    pen: *mut OH_Drawing_Pen,
    pathEffect: *mut OH_Drawing_PathEffect,
)
Expand description

@brief Sets the path effect for this pen. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If pen is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.

@param pen Pointer to the {@link OH_Drawing_Pen} object. @param pathEffect Pointer to an {@link OH_Drawing_PathEffect} object. If NULL is passed in, the path effect will be cleared. @since 12 @version 1.0