pub unsafe extern "C" fn OH_Drawing_RoundRectGetCorner(
roundRect: *mut OH_Drawing_RoundRect,
pos: OH_Drawing_CornerPos,
) -> OH_Drawing_Corner_RadiiExpand description
@brief Obtains the radii of the specified rounded corner in a rounded rectangle. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If roundRect is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param roundRect Pointer to an OH_Drawing_RoundRect object. @param pos Position of the rounded corner. For details about the available options, see {@link OH_Drawing_CornerPos}. @return Returns an OH_Drawing_Corner_Radii struct, including the radii on the X axis and Y axis. @since 12 @version 1.0