Exemple #1
0
 BrushEx IDrawingCanvas.CreateHatchBrush(HatchStyleEx style, Color foreColor, Color backColor)
 {
     return(new SolidBrush(foreColor));
 }
		/// <summary>コピーコンストラクタ。</summary>
		/// <param name="previous"></param>
		public HatchBrushEx(HatchBrushEx previous)
			{
			BackgroundColor = previous.BackgroundColor;
			ForegroundColor = previous.ForegroundColor;
			HatchStyle = previous.HatchStyle;
			}
		/// <summary>デフォルトコンストラクタ。</summary>
		public HatchBrushEx()
			{
			BackgroundColor = Color.Transparent;
			ForegroundColor = Color.White;
			HatchStyle = HatchStyleEx.SolidDiamond;
			}
Exemple #4
0
 /// <summary>コピーコンストラクタ。</summary>
 /// <param name="previous"></param>
 public HatchBrushEx(HatchBrushEx previous)
 {
     BackgroundColor = previous.BackgroundColor;
     ForegroundColor = previous.ForegroundColor;
     HatchStyle      = previous.HatchStyle;
 }
Exemple #5
0
 /// <summary>デフォルトコンストラクタ。</summary>
 public HatchBrushEx()
 {
     BackgroundColor = Color.Transparent;
     ForegroundColor = Color.White;
     HatchStyle      = HatchStyleEx.SolidDiamond;
 }
Exemple #6
0
 public BrushEx CreateHatchBrush(HatchStyleEx hatchStyle, Color foreColor, Color backColor)
 => new NoBrush();