Alsing.Drawing.GDI.GDISurface.DrawFocusRect C# (CSharp) Method

DrawFocusRect() public method

public DrawFocusRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void
        public void DrawFocusRect(int x, int y, int width, int height)
        {
            APIRect gr;
            gr.top = y;
            gr.left = x;
            gr.right = width + x;
            gr.bottom = height + y;

            NativeMethods.DrawFocusRect(mhDC, ref gr);
        }