Skip to main content

OH_Drawing_RectCreate

Function OH_Drawing_RectCreate 

Source
pub unsafe extern "C" fn OH_Drawing_RectCreate(
    left: f32,
    top: f32,
    right: f32,
    bottom: f32,
) -> *mut OH_Drawing_Rect
Expand description

@brief Creates an OH_Drawing_Rect object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param left Indicates the left position of the rect. @param top Indicates the top position of the rect. @param right Indicates the right position of the rect. @param bottom Indicates the bottom position of the rect. @return Returns the pointer to the OH_Drawing_Rect object created. @since 11 @version 1.0