public void DisplayText(TextLayer layerContent, int fadetime) { if (ProjectionWindows.Count > 0) { foreach (var pw in ProjectionWindows) { Bitmap bmp = new Bitmap(pw.Width, pw.Height); Graphics gr = Graphics.FromImage(bmp); layerContent.WriteOut(gr); pw.DisplayText(bmp, fadetime); CurrentText = layerContent; } ProjectionChanged?.Invoke(this, new ProjectionChangedEventArgs { Image = ProjectionWindows[0].GetPreviewImage() }); } }
public void DisplayText(TextLayer layerContent) { DisplayText(layerContent, Settings.Default.ProjectionFadeTime); }