1# ArkUI_Rect
2
3
4## Overview
5
6Defines a mask area.
7
8**Since**: 12
9
10**Related module**: [ArkUI_NativeModule](_ark_u_i___native_module.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| float [x](#x) | X-coordinate of the mask area. |
21| float [y](#y) | Y-coordinate of the mask area. |
22| float [width](#width) | Width of the mask area. |
23| float [height](#height) | Height of the mask area. |
24
25
26## Member Variable Description
27
28
29### height
30
31```
32float ArkUI_Rect::height
33```
34**Description**
35
36Height of the mask area.
37
38
39### width
40
41```
42float ArkUI_Rect::width
43```
44**Description**
45
46Width of the mask area.
47
48
49### x
50
51```
52float ArkUI_Rect::x
53```
54**Description**
55
56X-coordinate of the mask area.
57
58
59### y
60
61```
62float ArkUI_Rect::y
63```
64**Description**
65
66Y-coordinate of the mask area.
67