Skip to main content

OH_Drawing_RoundRectCreate

Function OH_Drawing_RoundRectCreate 

Source
pub unsafe extern "C" fn OH_Drawing_RoundRectCreate(
    rect: *const OH_Drawing_Rect,
    xRad: f32,
    yRad: f32,
) -> *mut OH_Drawing_RoundRect
Expand description

@brief Creates an OH_Drawing_RoundRect object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param rect Indicates the pointer to an OH_Drawing_Rect object. @param xRad Indicates the corner radii on x-axis. @param yRad Indicates the corner radii on y-axis. @return Returns the pointer to the OH_Drawing_RoundRect object created. @since 11 @version 1.0