ArkUI_Rect

概述

定义遮罩屏蔽区域的范围结构体。

起始版本: 12

相关模块:ArkUI_NativeModule

所在头文件: native_type.h

汇总

成员变量

名称 描述
float x 区域在x轴的位置。
float y 区域在y轴的位置。
float width 区域宽度。
float height 区域高度。

结构体成员变量说明

height

float ArkUI_Rect::height

描述:

区域高度。

width

float ArkUI_Rect::width

描述:

区域宽度。

x

float ArkUI_Rect::x

描述:

区域在x轴的位置。

y

float ArkUI_Rect::y

描述:

区域在y轴的位置。