Version: 2022.1
Experimental: this API is experimental and might be changed or removed in the future.

GraphView.SetupZoom

切换到手册
public void SetupZoom (float minScaleSetup, float maxScaleSetup);
public void SetupZoom (float minScaleSetup, float maxScaleSetup, float scaleStepSetup, float referenceScaleSetup);

参数

minScaleSetup 最小缩放级别。
maxScaleSetup 最大缩放级别。
scaleStepSetup 缩放步骤。
referenceScaleSetup 参考缩放级别。

描述

设置缩放属性。