Skip to main content

OH_Drawing_TextStyleIsAttributeMatched

Function OH_Drawing_TextStyleIsAttributeMatched 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleIsAttributeMatched(
    style: *const OH_Drawing_TextStyle,
    comparedStyle: *const OH_Drawing_TextStyle,
    textStyleType: OH_Drawing_TextStyleType,
) -> bool
Expand description

@brief Checks whether two text styles have the same font style type.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the first text style. @param comparedStyle Pointer to the first text style. @param textStyleType Text style types as in {@link OH_Drawing_TextStyleType}. @return Whether two text styles have the same font style type. true means yes; false otherwise. @since 12 @version 1.0