ArkUI_ScaleOptions

概述

定义组件转场时的缩放效果对象。

起始版本: 12

相关模块:ArkUI_NativeModule

所在头文件: native_type.h

汇总

成员变量

名称 描述
float x 横向放大倍数(或缩小比例)。
float y 纵向放大倍数(或缩小比例)。
float z 当前为二维显示,该参数无效。
float centerX 变换中心点x轴坐标。
float centerY 变换中心点y轴坐标。

结构体成员变量说明

centerX

float ArkUI_ScaleOptions::centerX

描述:

变换中心点x轴坐标。

centerY

float ArkUI_ScaleOptions::centerY

描述:

变换中心点y轴坐标。

x

float ArkUI_ScaleOptions::x

描述:

横向放大倍数(或缩小比例)。

y

float ArkUI_ScaleOptions::y

描述:

纵向放大倍数(或缩小比例)。

z

float ArkUI_ScaleOptions::z

描述:

当前为二维显示,该参数无效 。