Skip to main content

OH_Drawing_FontStyleSetGetStyle

Function OH_Drawing_FontStyleSetGetStyle 

Source
pub unsafe extern "C" fn OH_Drawing_FontStyleSetGetStyle(
    fontStyleSet: *mut OH_Drawing_FontStyleSet,
    index: i32,
    styleName: *mut *mut c_char,
) -> OH_Drawing_FontStyleStruct
Expand description

@brief Get font style for the specified typeface.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param fontStyleSet Indicates the pointer to an OH_Drawing_FontStyleSet object. @param index Indicates the index of the typeface in this fontStyleSet. @param styleName Indicates the style name returned. @return Return the OH_Drawing_FontStyleStruct structure. @since 12 @version 1.0