Skip to main content

OH_Drawing_PathAddCircle

Function OH_Drawing_PathAddCircle 

Source
pub unsafe extern "C" fn OH_Drawing_PathAddCircle(
    path: *mut OH_Drawing_Path,
    x: f32,
    y: f32,
    radius: f32,
    pathDirection: OH_Drawing_PathDirection,
)
Expand description

@brief Adds a circle to the path, and wound in the specified direction.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param x Indicates the x coordinate of the center of the circle. @param y Indicates the y coordinate of the center of the circle. @param radius Indicates the radius of the circle. @param pathDirection Indicates the path direction. @since 12 @version 1.0