/// <summary>
 /// Returns true if the given graphics mode is supported.
 /// </summary>
 /// <param name="mode">The mode to check.</param>
 /// <returns>True if the given mode is supported.</returns>
 public bool SupportsMode(GraphicsMode mode)
 {
     return GetSupportedModes().Contains(mode);
 }
Example #2
0
 /// <summary>
 /// Returns true if the given graphics mode is supported.
 /// </summary>
 /// <param name="mode">The mode to check.</param>
 /// <returns>True if the given mode is supported.</returns>
 public bool SupportsMode(GraphicsMode mode)
 {
     return(GetSupportedModes().Contains(mode));
 }
 /// <summary>
 /// This method is used to set the current graphics mode.
 /// </summary>
 /// <param name="mode">The mode to set to.</param>
 public abstract void SetMode(GraphicsMode mode);
Example #4
0
 /// <summary>
 /// This method is used to set the current graphics mode.
 /// </summary>
 /// <param name="mode">The mode to set to.</param>
 public abstract void SetMode(GraphicsMode mode);