ArkUI_ScaleOptions
typedef struct {...} ArkUI_ScaleOptions
Overview
Defines the scaling effect object for component transitions.
Since: 12
Related module: ArkUI_NativeModule
Header file: native_type.h
Summary
Member Variables
| Name | Description |
|---|---|
| float x | Scaling factor along the x-axis. x > 1: The object is scaled up along the x-axis. 0 < x < 1: The object is scaled down along the x-axis. x = 0: The object is scaled down to 0 along the x-axis. x = 1: The object is scaled along the x-axis at a scale factor of 1. x < 0: The object is scaled in the reverse direction along the x-axis. |
| float y | Scaling factor along the y-axis. y > 1: The object is scaled up along the y-axis. 0 < y < 1: The object is scaled down along the y-axis. y = 0: The object is scaled down to 0 along the y-axis. y = 1: The object is scaled along the y-axis at a scale factor of 1. y < 0: The object is scaled in the reverse direction 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 transformation center point. X-coordinate of the transformation center point (anchor point) of the component, in vp. |
| float centerY | Y-coordinate of the transformation center point. Y-coordinate of the transformation center point (anchor point) of the component, in vp. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller
openharmony 鸿蒙 errorcode-canvas
openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent
openharmony 鸿蒙 errorcode-bindSheet
openharmony 鸿蒙 js-apis-arkui-uiExtension-sys
openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo
openharmony 鸿蒙 capi-arkui-rendernodeutils
openharmony 鸿蒙 js-apis-arkui-node
openharmony 鸿蒙 capi-native-node-h
openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem