Alsing.Drawing.GDI.GDIBrush.GDIBrush C# (CSharp) Method

GDIBrush() public method

public GDIBrush ( IntPtr hBMP_Pattern ) : System
hBMP_Pattern System.IntPtr
return System
        public GDIBrush(IntPtr hBMP_Pattern)
        {
            hBrush = NativeMethods.CreatePatternBrush(hBMP_Pattern);
            //if (hBrush==(IntPtr)0)
            //Alsing.Debug.Debugger.WriteLine ("Failed to create brush with color : {0}",color.ToString());

            Create();
        }

Same methods

GDIBrush::GDIBrush ( Bitmap pattern ) : System
GDIBrush::GDIBrush ( Color color ) : System
GDIBrush::GDIBrush ( int BrushIndex ) : System
GDIBrush::GDIBrush ( int Style, Color color ) : System