Skip to main content

OH_Drawing_TextStyleAddFontFeature

Function OH_Drawing_TextStyleAddFontFeature 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleAddFontFeature(
    style: *mut OH_Drawing_TextStyle,
    tag: *const c_char,
    value: c_int,
)
Expand description

@brief Adds a font feature for a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the OH_Drawing_TextStyle object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param tag Pointer to the string identified by the keyword in the font feature key-value pair. @param value Value of the font feature key-value pair. @since 12 @version 1.0