System.Drawing.PieChart.PieChart3D.IsDisplacementValid C# (CSharp) Method

IsDisplacementValid() private method

Helper function used in assertions. Checks the validity of a slice displacement.
private IsDisplacementValid ( float value ) : bool
value float /// Displacement value to check. ///
return bool
        private bool IsDisplacementValid(float value)
        {
            return (value >= 0F && value <= 1F);
        }