pub unsafe extern "C" fn OH_Drawing_RegionSetRect(
region: *mut OH_Drawing_Region,
rect: *const OH_Drawing_Rect,
) -> boolExpand description
@brief Sets the boundary for an OH_Drawing_Region object. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either region or rect is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param region Pointer to the {@link OH_Drawing_Region} object. @param rect Pointer to an OH_Drawing_Rect object. @return Returns true if the setting is successful; returns false otherwise. @since 12 @version 1.0