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 Gets whether two TextStyle objects match attributes

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates enumerates of text style type. @param comparedStyle Indicates source of comparison OH_Drawing_TextStyle object. @param textStyleType Indicates comparison OH_Drawing_TextStyle object. @return Match attributes result. @since 12 @version 1.0