ComponentFactory.Krypton.Toolkit.PaletteBackInheritOverride.GetBackColorAngle C# (CSharp) Method

GetBackColorAngle() public method

Gets the color background angle.
public GetBackColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
return float
        public override float GetBackColorAngle(PaletteState state)
        {
            if (_apply)
            {
                float ret = _primary.GetBackColorAngle(_override ? _state : state);

                if (ret == -1)
                    ret = _backup.GetBackColorAngle(state);

                return ret;
            }
            else
                return _backup.GetBackColorAngle(state);
        }