pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_SetVector2AnimatablePropertyValue(
property: ArkUI_Vector2AnimatablePropertyHandle,
x: f32,
y: f32,
) -> i32Available on crate feature
api-20 only.Expand description
Set value of the vector2 animatable property.
§Arguments
-
property-ArkUI_Vector2AnimatablePropertyHandleThe vector2 animatable property handle. -
x- X-coordinate value of the property. -
y- Y-coordinate value of the property.
§Returns
- Error code.
[
ARKUI_ERROR_CODE_NO_ERROR] Success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception. [ARKUI_ERROR_CODE_CAPI_INIT_ERROR] if CAPI init error.
Available since API-level: 20