Skip to main content

OH_Drawing_TextStyleIsEqual

Function OH_Drawing_TextStyleIsEqual 

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

@brief Checks whether two text styles are equal. The word width property is not involved in the comparison.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the first text style. @param comparedStyle Pointer to the first text style. @return Whether two text style objects are equal. true if the source rectangle is equal to the destination rectangle; false otherwise. @since 12 @version 1.0