Bewerken

Share via


ManipulationPivot2D.Radius Property

Definition

Gets or sets the distance from the pivot point to the edge of the manipulatable region.

public:
 property float Radius { float get(); void set(float value); };
public float Radius { get; set; }
member this.Radius : single with get, set
Public Property Radius As Single

Property Value

The distance from the pivot point to the edge of the manipulatable region.

Remarks

The Radius property must be a positive, finite value that is greater than or equal to 1.0, or NaN. NaN indicates that there is no limit. The default value is NaN.

In practice, the pivot point is typically the center of the object that is being manipulated, and the Radius value is the distance from the pivot point to the farthest edge of the object. Any pivoting that occurs within the Radius distance is dampened. See ManipulationPivot2D for more information.

Applies to