ManipulationProcessor2D.MinimumScaleRotateRadius Property

Definition

Gets or sets the minimum radius, in coordinate units, necessary for a manipulator to participate in scaling and rotation.

C#
public float MinimumScaleRotateRadius { get; set; }

Property Value

The minimum radius, in coordinate units, necessary for a manipulator to participate in scaling and rotation.

Remarks

If a manipulator is extremely close to the center of mass of the manipulators currently being processed, a very small manipulator motion can become a very large change to rotation or scaling. To avoid this problem, set MinimumScaleRotateRadius to something greater than zero. Any manipulator that is closer than that distance to the center of mass will not be included in rotation and scaling operations.

A typical value to use should be based on the likely magnitude of "accidental" motions of the manipulators. For example, if the manipulator is a human finger touching a screen, a radius corresponding to a centimeter or so might be appropriate.

The value for MinimumScaleRotateRadius must be a finite, non-negative number.

Applies to

제품 버전
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10