OH_ArkUI_RenderNodeUtils_CreateVector2Property

Function OH_ArkUI_RenderNodeUtils_CreateVector2Property 

Source
pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_CreateVector2Property(
    x: f32,
    y: f32,
) -> ArkUI_Vector2PropertyHandle
Available on crate feature api-20 only.
Expand description

Create a vector2 property handle.

§Arguments

  • x - X-coordinate value of the property.

  • y - Y-coordinate value of the property.

§Returns

  • Handle to the vector2 property.

Available since API-level: 20