/// <summary>.</summary>
 /// <typeparam name="THex"></typeparam>
 /// <param name="this">The map to be painted, as a <see cref="MapDisplay{THex}"/>.</param>
 /// <param name="graphics">The <see cref="Graphics"/> object for the canvas being painted.</param>
 /// <param name="isNotShaded">The <see cref="IShadingMask"/> object for the canvas being painted.</param>
 public static void PaintShading <THex>(this IMapDisplayWinForms <THex> @this, Graphics graphics, IShadingMask isNotShaded)
     where THex : IHex
 => @this.Painter().PaintShading(graphics, isNotShaded);
示例#2
0
 /// <summary>.</summary>
 /// <typeparam name="THex"></typeparam>
 /// <param name="this">The map to be painted, as a <see cref="MapDisplay{THex}"/>.</param>
 /// <param name="graphics">The <see cref="Graphics"/> object for the canvas being painted.</param>
 /// <param name="isNotShaded">The <see cref="IShadingMask"/> object for the canvas being painted.</param>
 public static void PaintShading <THex>(this IPanelModel @this, Graphics graphics, IShadingMask isNotShaded)
     where THex : IHex
 => @this.Painter().PaintShading(graphics, isNotShaded);