Skip to main content

OH_Drawing_TypographyGetRectsForRange

Function OH_Drawing_TypographyGetRectsForRange 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyGetRectsForRange(
    typography: *mut OH_Drawing_Typography,
    start: usize,
    end: usize,
    heightStyle: OH_Drawing_RectHeightStyle,
    widthStyle: OH_Drawing_RectWidthStyle,
) -> *mut OH_Drawing_TextBox
Expand description

@brief Gets the rects for range.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Indicates the pointer to an OH_Drawing_Typography object. @param start Indicates the start of range to set. @param end Indicates the end of range to set. @param heightStyle Indicates the height style to set. For details, see the enum OH_Drawing_RectHeightStyle. @param widthStyle Indicates the width style to set. For details, see the enum OH_Drawing_RectWidthStyle. @return Returns the rects for range. @since 11 @version 1.0