OH_ArkUI_SystemFontStyleEvent_GetFontWeightScale

Function OH_ArkUI_SystemFontStyleEvent_GetFontWeightScale 

Source
pub unsafe extern "C" fn OH_ArkUI_SystemFontStyleEvent_GetFontWeightScale(
    event: *const ArkUI_SystemFontStyleEvent,
) -> f32
Available on crate feature api-12 only.
Expand description

Retrieve the font thickness values for system font change events.

§Arguments

  • event - Indicates a pointer to the current system font change event.

§Returns

  • The updated system font thickness scaling factor. Default value: 1.0.

Available since API-level: 12