Function ohos_sys::drawing::text_typography::OH_Drawing_SetTextStyleBaseLine
source ยท pub unsafe extern "C" fn OH_Drawing_SetTextStyleBaseLine(
arg1: *mut OH_Drawing_TextStyle,
arg2: i32,
)Available on crate feature
drawing only.Expand description
@brief Sets the text baseline.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param OH_Drawing_TextStyle Indicates the pointer to an OH_Drawing_TextStyle object. @param int Indicates the text baseline to set. For details, see the enum OH_Drawing_TextBaseline. @since 8 @version 1.0