Example #1
0
        public void InRadialGradient()
        {
            var source = "radial-gradient(ellipse farthest-corner at 45px 45px , #00FFFF, rgba(0, 0, 255, 0) 50%, #0000FF 95%)";
            var value  = GradientConverter.Convert(source);

            Assert.IsNotNull(value);
        }
Example #2
0
        public void InLinearGradient()
        {
            var source = "linear-gradient(135deg, red, blue)";
            var value  = GradientConverter.Convert(source);

            Assert.IsNotNull(value);
        }