Exemplo n.º 1
0
 protected Effects(BlurEffect blurEffect)
 {
     id = Guid.NewGuid().ToString();
     this.hasEffects = true;
     this.hasBlur    = true;
     this.blur       = new BlurEffect(blurEffect);
 }
Exemplo n.º 2
0
 public Effects(Effects effects)
 {
     id = Guid.NewGuid().ToString();
     this.hasEffects = effects.hasEffects;
     this.hasBlur    = effects.hasBlur;
     this.blur       = effects.blur;
     this.hasShadow  = effects.hasShadow;
     this.shadow     = effects.shadow;
 }
Exemplo n.º 3
0
 public static string ToSVG(this Wg.BlurEffect input)
 {
     return("<feGaussianBlur result=\"blurOut\" in=\"SourceGraphic\" stdDeviation=\"" + input.Radius + "\" />");
 }
Exemplo n.º 4
0
 public BlurEffect(BlurEffect blurEffect)
 {
     this.Radius = blurEffect.Radius;
 }
Exemplo n.º 5
0
 public static Se.BlurBitmapEffect ToMediaBitmapEffect(this Wg.BlurEffect input)
 {
     Se.BlurBitmapEffect output = new Se.BlurBitmapEffect();
     output.Radius = input.Radius;
     return(output);
 }