/// <summary> /// Inflates the specified size. /// </summary> /// <param name="size">The size.</param> public void Inflate(SIZE size) { this.Inflate(size.Width, size.Height); }
/// <summary> /// Initializes a new instance of the <see cref="RECT"/> class. /// </summary> /// <param name="location">A location.</param> /// <param name="size">A size.</param> public RECT(POINT location, SIZE size) { this._Left = location.X; this._Top = location.Y; this._Right = this._Left + size.Width; this._Bottom = this._Top + size.Height; }
/// <summary> /// Equalses the specified size. /// </summary> /// <param name="size">The size.</param> /// <returns></returns> public bool Equals(SIZE size) { if (this._Width.Equals((object)size._Width) && this._Height.Equals((object)size._Height)) { return true; } return false; }