pub unsafe extern "C" fn OH_ArkUI_Curve_CreateStepsCurve(
count: i32,
end: bool,
) -> ArkUI_CurveHandleAvailable on crate feature
api-12 only.Expand description
Creates a step curve.
§Arguments
-
count- Indicates the number of steps. The value must be a positive integer. Value range: [1, +∞). -
end- Indicates whether jumping occurs when the interpolation ends. true: Jumping occurs when the interpolation ends. false: Jumping occurs when the interpolation starts.
§Returns
- Returns the pointer to the interpolation object of the curve. Returns NULL if a parameter error occurs.
Available since API-level: 12