Skip to main content

OH_Drawing_TextStyleGetShadowWithIndex

Function OH_Drawing_TextStyleGetShadowWithIndex 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleGetShadowWithIndex(
    style: *mut OH_Drawing_TextStyle,
    index: c_int,
) -> *mut OH_Drawing_TextShadow
Expand description

@brief Obtains the element at the specified index in the text shadow container.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param index Subscript index, ranging from 0 to the number of shadows minus 1. The number of shadows can be obtained via {@link OH_Drawing_TextStyleGetShadowCount}. @return Pointer to the text shadow object {@link OH_Drawing_TextShadow}. @since 12 @version 1.0