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; }
public BrushEx CreateHatchBrush(HatchStyleEx hatchStyle, Color foreColor, Color backColor) => new NoBrush();