Skip to main content

OH_Drawing_TypographyLayout

Function OH_Drawing_TypographyLayout 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyLayout(
    typography: *mut OH_Drawing_Typography,
    maxWidth: f64,
)
Expand description

@brief Lays out the typography.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Indicates the pointer to an OH_Drawing_Typography object. @param maxWidth Indicates the maximum text width to set. @since 8 @version 1.0