ArkUI_ScaleOptions
Overview
Defines the scaling options for component transition.
Since: 12
Related module: ArkUI_NativeModule
Summary
Member Variables
| Name | Description |
|---|---|
| float x | Scale ratio along the x-axis. |
| float y | Scale ratio along the y-axis. |
| float z | Scale factor along the z-axis (not effective for the current 2D graphics). |
| float centerX | X coordinate of the center point. |
| float centerY | Y coordinate of the center point. |
Member Variable Description
centerX
float ArkUI_ScaleOptions::centerX
Description
X coordinate of the center point.
centerY
float ArkUI_ScaleOptions::centerY
Description
Y coordinate of the center point.
x
float ArkUI_ScaleOptions::x
Description
Scale ratio along the x-axis.
y
float ArkUI_ScaleOptions::y
Description
Scale ratio along the y-axis.
z
float ArkUI_ScaleOptions::z
Description
Scale factor along the z-axis (not effective for the current 2D graphics).