Пример #1
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);
 }
Пример #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));
 }
Пример #3
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);
Пример #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);