ArkUI_RotationOptions
typedef struct {...} ArkUI_RotationOptions
Overview
Defines the rotation effect object for a component during transition.
Since: 12
Related module: ArkUI_NativeModule
Header file: native_type.h
Summary
Member Variables
| Name | Description |
|---|---|
| float x | X-component of the rotation vector. |
| float y | Y-component of the rotation vector. |
| float z | Z-component of the rotation vector. |
| float angle | Rotation angle. The value range is (-∞, +∞). A positive angle indicates a clockwise rotation, and a negative angle indicates a counterclockwise rotation. |
| float centerX | X-coordinate of the center point, in vp. |
| float centerY | Y-coordinate of the center point, in vp. |
| float centerZ | Z-component of the 3D rotation center point, in px. |
| float perspective | Viewing distance, that is, the distance from the viewpoint to the z=0 plane, in px. |
你可能感兴趣的鸿蒙文章
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