1# ArkUI_ScaleOptions
2
3
4## Overview
5
6Defines the scaling options for component transition.
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) | Scale ratio along the x-axis. |
21| float [y](#y) | Scale ratio along the y-axis. |
22| float [z](#z) | Scale factor along the z-axis (not effective for the current 2D graphics). |
23| float [centerX](#centerx) | X coordinate of the center point. |
24| float [centerY](#centery) | Y coordinate of the center point. |
25
26
27## Member Variable Description
28
29
30### centerX
31
32```
33float ArkUI_ScaleOptions::centerX
34```
35**Description**
36
37X coordinate of the center point.
38
39
40### centerY
41
42```
43float ArkUI_ScaleOptions::centerY
44```
45**Description**
46
47Y coordinate of the center point.
48
49
50### x
51
52```
53float ArkUI_ScaleOptions::x
54```
55**Description**
56
57Scale ratio along the x-axis.
58
59
60### y
61
62```
63float ArkUI_ScaleOptions::y
64```
65**Description**
66
67Scale ratio along the y-axis.
68
69
70### z
71
72```
73float ArkUI_ScaleOptions::z
74```
75**Description**
76
77Scale factor along the z-axis (not effective for the current 2D graphics).
78