Exemplo n.º 1
0
 public GradientSpec(GradientSpec spec)
 {
     _colorStops = new List <ColorStop>(spec.ColorStops);
     Type        = spec.Type;
     Start       = spec.Start;
     End         = spec.End;
     InnerRadius = spec.InnerRadius;
     OuterRadius = spec.OuterRadius;
 }
Exemplo n.º 2
0
 public PaintStyle(PaintStyle paint)
 {
     Type     = paint.Type;
     Color    = paint.Color;
     Gradient = new GradientSpec(paint.Gradient);
 }