ComponentFactory.Krypton.Toolkit.PaletteContentInheritOverride.GetContentLongTextColorAngle C# (CSharp) Method

GetContentLongTextColorAngle() public method

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

                if (ret == -1f)
                    ret = _backup.GetContentLongTextColorAngle(state);

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