Пример #1
0
 protected Effects(BlurEffect blurEffect)
 {
     id = Guid.NewGuid().ToString();
     this.hasEffects = true;
     this.hasBlur    = true;
     this.blur       = new BlurEffect(blurEffect);
 }
Пример #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;
 }
Пример #3
0
 public static string ToSVG(this Wg.BlurEffect input)
 {
     return("<feGaussianBlur result=\"blurOut\" in=\"SourceGraphic\" stdDeviation=\"" + input.Radius + "\" />");
 }
Пример #4
0
 public BlurEffect(BlurEffect blurEffect)
 {
     this.Radius = blurEffect.Radius;
 }
Пример #5
0
 public static Se.BlurBitmapEffect ToMediaBitmapEffect(this Wg.BlurEffect input)
 {
     Se.BlurBitmapEffect output = new Se.BlurBitmapEffect();
     output.Radius = input.Radius;
     return(output);
 }