Device.setContentScale(scale, animate)

Sets the scale of the content, and an optional animation (true or false). Supported scale values range from 0.5 to 1.
译:内容的缩放比例,允许的范围是0.5到1,这个函数会有一个额外的动画选项animation(true或false)。

# Set content scale and animate 
Framer.Device.setContentScale(0.5, true)

results matching ""

    No results matching ""