pub unsafe extern "C" fn OH_Drawing_CreateDiscretePathEffect(
segLength: f32,
deviation: f32,
) -> *mut OH_Drawing_PathEffectAvailable on crate features
api-12 and api-18 only.Expand description
Creates an OH_Drawing_PathEffect object that breaks the path and creates an irregular distribution on the path.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeDrawing
§Arguments
-
segLength- Indicates the maximum segment length of the path. -
deviation- Indicates the deviation during drawing.
§Returns
- Returns the pointer to the OH_Drawing_PathEffect object created.
Available since API-level: 18
Version: 1.0