Here are the examples of the csharp api class BrightIdeasSoftware.AbstractRectangleLocator.Expand(System.Drawing.Rectangle) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
4 Examples
0
1. Example
Project: MapViewer
Source File: RectangleLocator.cs
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() { return this.Expand(this.Sprite.Bounds); }
0
2. Example
Project: MapViewer
Source File: RectangleLocator.cs
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() { return this.Expand(this.Sprite.OuterBounds); }
0
3. Example
Project: MapViewer
Source File: RectangleLocator.cs
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() { return this.Expand(this.Rectangle); }
0
4. Example
Project: MapViewer
Source File: RectangleLocator.cs
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() { Point topLeft = this.TopLeftLocator.GetPoint(); Point bottomRight = this.BottomRightLocator.GetPoint(); return this.Expand(Rectangle.FromLTRB(topLeft.X, topLeft.Y, bottomRight.X, bottomRight.Y)); }