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