Skip to main content

OH_Drawing_PathLineTo

Function OH_Drawing_PathLineTo 

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

@brief Draws a line segment from the last point of a path to the target point.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param x Indicates the x coordinate of the target point. @param y Indicates the y coordinate of the target point. @since 8 @version 1.0