System.Drawing.RectangleF.Inflate C# (CSharp) 메소드

Inflate() 공개 메소드

public Inflate ( System size ) : void
size System
리턴 void
        public void Inflate(System.Drawing.SizeF size) { }
        public void Inflate(float x, float y) { }

Same methods

RectangleF::Inflate ( RectangleF rect, float x, float y ) : RectangleF
RectangleF::Inflate ( System rect, float x, float y ) : System.Drawing.RectangleF
RectangleF::Inflate ( SizeF size ) : void
RectangleF::Inflate ( float x, float y ) : void

Usage Example

예제 #1
0
 static public void DrawNode(ICanvas canvas, UnitPoint nodepoint)
 {
     RectangleF r = new RectangleF(canvas.ToScreen(nodepoint), new SizeF(0, 0));
     r.Inflate(3, 3);
     if (r.Right < 0 || r.Left > canvas.ClientRectangle.Width)
         return;
     if (r.Top < 0 || r.Bottom > canvas.ClientRectangle.Height)
         return;
     canvas.Graphics.FillRectangle(Brushes.White, r);
     r.Inflate(1, 1);
     canvas.Graphics.DrawRectangle(Pens.Black, ScreenUtils.ConvertRect(r));
 }
All Usage Examples Of System.Drawing.RectangleF::Inflate