Skip to content
On this page

Animation.scaleX

缩放 X 轴。

参数

number scale

X 轴的缩放倍数

返回值

Animation

Example

ts
const anim = ek.createAnimation()
const animData = anim
  .scaleX(2.0)
  .step()
  .export()