Exemple #1
0
        public static ICssObject ToImage(this CSSValue value)
        {
            if (value.Is(Keywords.None))
            {
                return(Color.Transparent);
            }

            return(value.ToUri() ?? value.ToLinearGradient() ?? value.ToRadialGradient() as ICssObject);
        }