Skip to main content

OH_Drawing_CreateDashPathEffect

Function OH_Drawing_CreateDashPathEffect 

Source
pub unsafe extern "C" fn OH_Drawing_CreateDashPathEffect(
    intervals: *mut f32,
    count: c_int,
    phase: f32,
) -> *mut OH_Drawing_PathEffect
Expand description

@brief Creates an OH_Drawing_PathEffect object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param intervals Indicates a array which contain an even number of entries. @param count Indicates the number of elements of the intervals array. @param phase Indicates the offset into intervals array. @return Returns the pointer to the OH_Drawing_PathEffect object created. @since 12 @version 1.0