BrightIdeasSoftware.AbstractRectangleLocator.Expand(System.Drawing.Rectangle)

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 7

1. Example

Project: MapViewer
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() {
            return this.Expand(this.Sprite.Bounds);
        }

2. Example

Project: MapViewer
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() {
            return this.Expand(this.Sprite.OuterBounds);
        }

3. Example

Project: MapViewer
Source File: RectangleLocator.cs
public override Rectangle GetRectangle() {
            return this.Expand(this.Rectangle);
        }

4. Example

Project: MapViewer
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));
        }