diff --git a/zh-cn/arkui/ace_engine/native/native_type_visual.h b/zh-cn/arkui/ace_engine/native/native_type_visual.h index fc06d0047..927d087ad 100644 --- a/zh-cn/arkui/ace_engine/native/native_type_visual.h +++ b/zh-cn/arkui/ace_engine/native/native_type_visual.h @@ -44,22 +44,6 @@ extern "C" { #endif -/** - * @brief Defines a two-dimensional point struct, with coordinates stored as float type. - * - * @since 24 - */ -typedef struct { - /** - * x-axis coordinate. - */ - float x; - /** - * y-axis coordinate. - */ - float y; -} ArkUI_PointF; - /** * @brief 定义四阶矩阵对象。 * @@ -815,6 +799,23 @@ typedef struct { float perspective; } ArkUI_RotationOptions; + +/** + * @brief 定义一个二维坐标点结构体,坐标以浮点类型存储。 + * + * @since 24 + */ +typedef struct { + /** + * x轴坐标。取值范围:(-∞, +∞)。 + */ + float x; + /** + * y轴坐标。取值范围:(-∞, +∞)。 + */ + float y; +} ArkUI_PointF; + /** * @brief 定义阴影选项对象。 *