ExtendedLib_SurfaceExtensions Class
Definition
Section titled “Definition”Extensions for the IScreenSurface type
public static class ExtendedLib_SurfaceExtensionsInheritance object
Methods
Section titled “Methods”PrintFadingText(IScreenSurface, string, Point, TimeSpan, ICellEffect?)
Section titled “PrintFadingText(IScreenSurface, string, Point, TimeSpan, ICellEffect?)”Prints text that blinks out the characters each after the specified time, using the default foreground and background colors of the surface.
public static void PrintFadingText(this IScreenSurface surfaceObject, string text, Point position, TimeSpan time, ICellEffect? effect = null)Parameters
Section titled “Parameters”surfaceObject IScreenSurface
The surface to draw the text on.
text string
The text to print.
position SadRogue.Primitives.Point
The position where to print the text.
time TimeSpan
The time each glyph (one after the other) takes to print then fade.
effect ICellEffect
Optional effect to use. If null is passed, uses an instant fade.
PrintFadingText(IScreenSurface, ColoredString, Point, TimeSpan, ICellEffect?)
Section titled “PrintFadingText(IScreenSurface, ColoredString, Point, TimeSpan, ICellEffect?)”public static void PrintFadingText(this IScreenSurface surfaceObject, ColoredString text, Point position, TimeSpan time, ICellEffect? effect = null)Parameters
Section titled “Parameters”surfaceObject IScreenSurface
The surface to draw the text on.
text ColoredString
The text to print.
position SadRogue.Primitives.Point
The position where to print the text.
time TimeSpan
The time each glyph (one after the other) takes to print then fade.
effect ICellEffect
Optional effect to use. If null is passed, uses an instant fade.