Esempio n. 1
0
 public ContextOperation <TimeSpan> FadeOut(TimeSpan?duration = null)
 {
     duration = duration ?? TimeSpan.FromSeconds(0.5);
     return(DrawContext.Animate(duration.Value, FadeColor, Color.Black));
 }