public void Test_CanvasBrush_RadialGradientBrush_3() { CanvasDevice device = new CanvasDevice(); Assert.IsNotNull(device, "Could not create CanvasDevice instance."); var radialbrush = CanvasPathGeometry.CreateBrush(device, "RG 40 60 320 400 S 0.00 #ffee5124, 0.18 #fff05627, 0.26 #fff15b29, 0.72 #fff58535, 1.00 #fff9af41 5.0"); }
public void Test_CanvasBrush_SolidBrush_3() { CanvasDevice device = new CanvasDevice(); Assert.IsNotNull(device, "Could not create CanvasDevice instance."); var solidbrush = CanvasPathGeometry.CreateBrush(device, "SC #FF1233AA O .75 23 35"); }
public void Test_CanvasBrush_LinearGradientBrush_3() { CanvasDevice device = new CanvasDevice(); Assert.IsNotNull(device, "Could not create CanvasDevice instance."); var linearbrush = CanvasPathGeometry.CreateBrush(device, "LG M 0 80 Z0 0 S 0.00 #ffee5124, 0.18 #fff05627, 0.26 #fff15b29, 0.6 #fff58535, 1.00 #fff9af41 3.0"); }
public void Test_CanvasBrush() { CanvasDevice device = new CanvasDevice(); Assert.IsNotNull(device, "Could not create CanvasDevice instance."); var solidbrush = CanvasPathGeometry.CreateBrush(device, "SC #FF1233AA O .75"); Assert.IsNotNull(solidbrush, "Could not create SolidColorBrush instance."); var linearbrush = CanvasPathGeometry.CreateBrush(device, "LG M 0 80 Z0 0 S 0.00 #ffee5124, 0.18 #fff05627, 0.26 #fff15b29, 0.6 #fff58535, 1.00 #fff9af41"); Assert.IsNotNull(linearbrush, "Could not create LinearGradientBrush instance."); var radialbrush = CanvasPathGeometry.CreateBrush(device, "RG 40 60 320 400 S 0.00 #ffee5124, 0.18 #fff05627, 0.26 #fff15b29, 0.72 #fff58535, 1.00 #fff9af41"); Assert.IsNotNull(radialbrush, "Could not create RadialGradientBrush instance."); }