Skip to main content

OH_Drawing_RegionSetRect

Function OH_Drawing_RegionSetRect 

Source
pub unsafe extern "C" fn OH_Drawing_RegionSetRect(
    region: *mut OH_Drawing_Region,
    rect: *const OH_Drawing_Rect,
) -> bool
Expand description

@brief Sets the region to the specified rect.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param region Indicates the pointer to an OH_Drawing_Region object. @param rect Indicates the pointer to an OH_Drawing_Rect object. @return Return true if constructed Region is not empty. @since 12 @version 1.0