Skip to main content

OH_Drawing_ShadowLayerCreate

Function OH_Drawing_ShadowLayerCreate 

Source
pub unsafe extern "C" fn OH_Drawing_ShadowLayerCreate(
    blurRadius: f32,
    x: f32,
    y: f32,
    color: u32,
) -> *mut OH_Drawing_ShadowLayer
Expand description

@brief Creates an OH_Drawing_ShadowLayer object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param blurRadius Indicates the blur radius of the shadow. @param x Indicates the offset point on x-axis. @param y Indicates the offset point on y-axis. @param color Indicates the shadow color. @return Returns the pointer to the OH_Drawing_ShadowLayer object created. @since 12 @version 1.0