pub unsafe extern "C" fn OH_Drawing_PathContains(
path: *mut OH_Drawing_Path,
x: f32,
y: f32,
) -> boolExpand description
@brief Checks whether a coordinate point is included in this path. For details, see {@link OH_Drawing_PathFillType}. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If path is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param path Pointer to the {@link OH_Drawing_Path} object. @param x Coordinate point on the X axis. @param y Coordinate point on the Y axis. @return Returns true if the coordinate point is included in the path; returns false otherwise. @since 12 @version 1.0