C# Class ICSharpCode.TextEditor.BrushRegistry

Contains brushes/pens for the text editor to speed up drawing. Re-Creation of brushes and pens seems too costly.
Datei anzeigen Open project: Clancey/MonoMac.Windows.Form

Public Methods

Method Description
GetBrush ( Color color ) : Brush
GetDotPen ( Color color ) : Pen
GetPen ( Color color ) : Pen

Method Details

GetBrush() public static method

public static GetBrush ( Color color ) : Brush
color Color
return System.Drawing.Brush

GetDotPen() public static method

public static GetDotPen ( Color color ) : Pen
color Color
return System.Drawing.Pen

GetPen() public static method

public static GetPen ( Color color ) : Pen
color Color
return System.Drawing.Pen