System.Drawing.Drawing2D.HatchBrush.drawBackground C# (CSharp) 메소드

drawBackground() 정적인 개인적인 메소드

static private drawBackground ( CGContext context, System.Color color, float width, float height ) : void
context CGContext
color System.Color
width float
height float
리턴 void
        void drawBackground(CGContext context, Color color, float width, float height)
        {
            context.SetFillColor(color.ToCGColor());
            context.FillRect(new CGRect (HALF_PIXEL_X, HALF_PIXEL_Y, width+HALF_PIXEL_X, height+HALF_PIXEL_Y));
            context.FillPath();
        }