Skip to main content

OH_Drawing_PathGetLength

Function OH_Drawing_PathGetLength 

Source
pub unsafe extern "C" fn OH_Drawing_PathGetLength(
    path: *mut OH_Drawing_Path,
    forceClosed: bool,
) -> f32
Expand description

@brief Gets the length of the current path object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param forceClosed Indicates whether free to modify/delete the path after this call. @return Returns the length of the current path object. @since 12 @version 1.0